oysteini
6d112dd1c2
Reinserted some code that disappeared mysteriously.
2011-10-09 13:23:42 +00:00
gombos
d885f9a1d3
updated wrong field
2011-10-09 13:21:46 +00:00
gombos
469c4a4b41
added search-description to book search
2011-10-09 13:18:36 +00:00
gombos
4449493bbd
implemented search-person
2011-10-08 19:53:24 +00:00
oysteini
a9f1ac6a66
Fix in fileformat.py: Empty fields are None when reading.
2011-10-08 19:49:28 +00:00
oysteini
9e84d0cfcd
Ugly encoding hacks.
2011-10-08 19:41:57 +00:00
gombos
3c911d3131
developed book search with possibility for more than one word, and search for authors
2011-10-08 19:32:30 +00:00
oysteini
ba14cc09b6
Use execute_query in do_action to allow integer fields to be empty.
2011-10-08 19:20:51 +00:00
oysteini
87e0cdda9d
New utility function execute_query, wrapping cursor.execute.
...
This is a hack to avoid a problem with using %(foo)d in a query with a
NULL value.
2011-10-08 19:20:21 +00:00
andrfla
b34f8da82b
Fixed writing book/author suggestion to file, and made it prettier
2011-10-08 19:20:02 +00:00
oysteini
bd81dc4425
Implemented edit command.
2011-10-08 19:08:06 +00:00
oysteini
44553732ca
Fixed some bugs in write_tmpfile.
2011-10-08 18:10:10 +00:00
andrfla
6cd76a205d
suggest_book now conceptually working, needs to look better
2011-10-08 17:11:34 +00:00
oysteini
2000445902
Fixed some errors in the implementation of the commit command.
2011-10-08 17:09:31 +00:00
oysteini
46a606c2bf
Fixed some errors in fileformat.py, and added some debugging code.
2011-10-08 17:08:46 +00:00
oysteini
cdaa0430d8
Set worblehat.py to be executable.
2011-10-08 16:13:14 +00:00
oysteini
445bf30450
Tried to implement commit command.
...
Haven't tested it much, so it is probably very buggy.
Also fixed an error in the show command (it died when asked to show
something that didn't exist).
2011-10-08 16:05:27 +00:00
gombos
1076b8ecaa
first implementation of search, with only one word
2011-10-08 15:20:50 +00:00
oysteini
14d98f3d57
Implementert visning av kategori.
2011-10-08 14:35:26 +00:00
andrfla
d9f41d3e7e
Opprettet google_interface
...
google_interface.py inneholder funksjonalitet som svarer til kommandoen "worblehat suggest-book-data"
2011-10-08 14:08:15 +00:00
oysteini
b808517be3
Implementert 'list category'.
2011-10-08 13:58:32 +00:00
oysteini
d4ca8c5679
Endret noen feltnavn i fileformat.py for å stemme med resten.
2011-10-08 13:53:52 +00:00
oysteini
7650057992
Implementasjon av 'list person'.
2011-10-08 13:50:58 +00:00
oysteini
bf3d8f78a6
Implementert visning av person.
2011-10-08 13:27:03 +00:00
oysteini
7eb9967524
Fikset litt på visning av bøker. Får med personer knyttet til boken.
2011-10-08 12:22:40 +00:00
oysteini
6d50951cf0
Fikset en feil i show.
2011-10-08 11:40:43 +00:00
oysteini
dcb6982d24
Begynt å implementere kommandoene for å vise bøker.
2011-10-08 11:38:13 +00:00
oysteini
f39cbbe957
En ny util-funksjon.
2011-10-08 11:37:37 +00:00
oysteini
66d1ca3827
Fisket inn litt mer kode fra forrige inkarnasjon.
...
Har nå kommandolinjetolking, men implementasjonene av kommandoene er
tomme.
2011-10-08 10:13:32 +00:00
oysteini
e0aa1d53d2
Såvidt begynt på nytt kommandolinjegrensesnitt.
...
* Kopiert inn noe dokumentasjon (filformat og kommandolinjeargumenter)
fra forrige forsøk (som var i python-katalogen).
* Kopiert implementajonen av filformatet fra forrige forsøk.
* Kopiert nyttige ting fra mdboh, samt noe fra forrige inkarnasjon av
kommandolinjegrensesnittet her, til util.py
* Skrevet litt testkode i worblehat.py.
2011-10-08 09:06:15 +00:00