Commit Graph

38 Commits

Author SHA1 Message Date
giuliof 9819fbdead Merge pull request 'Merge dev/remoteFetch' (#2) from dev/remoteFetch into master
Reviewed-on: #2
2021-09-14 19:41:11 +00:00
giuliof d6f476167d Testato, aggiunta libreria logger.
- Logging in conf/tpdf.log anziché in std{out,err}.
- Fix di alcune conversioni.
- TODO: spostare la posizione del logfile e del loglevel nel conf.ini.
2021-09-04 11:22:00 +02:00
giuliof 6c20ea6d0f Handled value error 2021-09-04 11:20:53 +02:00
giuliof df82337f1f Proper way to handle logging of exceptions 2021-09-04 11:15:26 +02:00
giuliof 34dbffac9f fatal->error 2021-09-04 11:04:07 +02:00
giuliof 54bbdb919e Write a string 2021-09-04 11:00:37 +02:00
giuliof cd6543f837 Rimosso encoding 2021-09-04 10:50:11 +02:00
giuliof 45752d2903 Test con la libreria di logging 2021-09-04 10:45:51 +02:00
giuliof e5143a86ad Tentativo di implementazione fetching remoto .tc. Da testare
- Richiesta HTTP (o via webdav, è equivalente).
- Uso del Last-modified nell'header HTTP per il rinnovo della cache.
2021-09-04 00:21:56 +02:00
giuliof 49f89a606d Aggiunto requirements.txt fasullo per docker 2021-03-25 00:24:14 +01:00
giomba 966c0cf76e Fixed bug #1
Handling of unsafe publication year fields.
If unsafe, then uses the first 4-digit number in the string as the year.
2018-12-23 12:00:14 +01:00
giomba 2f9eea0e4e Minor bug fixed 2018-12-22 19:05:49 +01:00
giomba 827c0117a7 Added nice logo 2018-12-22 18:49:27 +01:00
giomba a99524f3eb Last database update prettify 2018-12-22 18:46:42 +01:00
giomba 2af92de8b4 Updated docs 2018-12-22 18:39:38 +01:00
giomba 62c9be6a0d Application themed as GOLEM website 2018-12-22 18:38:12 +01:00
giomba a68967476d More information displayed 2018-12-22 18:03:17 +01:00
giomba 098c977d94 Added placeholder image for unknown covers 2018-12-22 17:30:51 +01:00
giomba 4919486f10 Removed bulky backend 2018-12-22 17:09:08 +01:00
giomba 246529942f Merge branch 'master' of git.golem.linux.it:giomba/tpdf
Misaligned branch for unknown reason
2018-12-22 16:25:20 +01:00
giomba d8b4107f0b Improved frontend graphical appearance 2018-12-22 16:23:27 +01:00
giomba ba26fa8e96 Removed TODO file
Features to be done and other comments must reside on git web cms.
2018-11-27 12:46:12 +01:00
giomba 0b531a70f8 Dynamic frontend usable 2018-11-24 16:10:41 +01:00
giomba a4f6e305b1 Barely presentable dynamic javascript frontpage 2018-11-24 15:55:40 +01:00
giomba a5c52223dd Improved README description and installation instructions 2018-11-03 16:58:40 +01:00
giomba 9c751f97c5 Added version details 2018-11-03 16:39:02 +01:00
giomba 9c7ec28729 Global customized output directory 2018-11-03 16:27:40 +01:00
giomba f6bff1b998 Proper configuration file 2018-11-03 14:13:18 +01:00
GOLEM - Gruppo Operativo Linux Empoli 7273d3a079 Debian Apache adaptation
- Proper UTF-8 handling
- .htaccess CGI and environment variables
2018-11-03 12:52:36 +01:00
giomba 312a4829aa Database extraction only when needed
Keeps a timestamp of last database update, and extracts it only if
changed from last extraction (more efficient).
Modified library struct, now contains not only a book list but also some
informations about the library (specific last update timestamp).
Last database update is shown in html and json output.
Added .htaccess for Apache webserver to prevent tellico files leaks from
output directory.
2018-10-28 11:03:26 +01:00
giomba b6e818d66d Added images of covers 2018-10-21 15:00:19 +02:00
giomba a72e51c7da Read directly from .tc database
Now takes the .tc database archive and extracts needed files
automatically, without requiring manual extraction of .xml
2018-10-21 14:10:16 +02:00
giomba 6ed59e39fe Added message for empty resultsets 2018-10-21 13:21:18 +02:00
giomba c7fcbc6d39 Fixed search bug
Introduced due to a copy-paste issue.
2018-10-21 13:15:03 +02:00
giomba 277a1bad60 Return booklist ordered by title 2018-10-21 12:26:28 +02:00
giomba 8abf645945 Appearance prettified
For the eye of the programmer, that is a shameful designer.
2018-10-21 12:01:31 +02:00
giomba e8a2fdb017 Removed JSON<->XML issue
Cannot be done automagically without some assumptions, so it is worth of doing the conversion by hand suited to our needs.
2018-10-21 11:30:59 +02:00
giomba adc2305713 First commit 2018-10-20 18:46:05 +02:00