diff --git a/README.md b/README.md index 7d83c85..d1605b6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# pyShelf 0.1.0 +# pyShelf 0.2.0

A simple terminal based ebook server

@@ -44,6 +44,14 @@ Currently pyShelf will recursively scan your collection, extract and store some Django has been implemented to power the frontend experience, and web based database maintenance. The first steps of which are included in this commit. Also the book database has been switched over to reflect this. A properly configured web server is required for hosting the frontend, configuration of which is outside of the scope of this readme. Running via the Django test server might be possible, albeit not recomended. +## New in 0.2.0 +* UI + * The UI has moved closer to what I have envisioned for this project, however more features and changes will be coming as needed to both the form and function. +* UX + * Results have now been limited to 20 per page. Currently this is hardcoded in however in the future it will be user definable. + * Previous page & next page buttons have been implemented, and are working. + + ## In Progress * UI/UX tweaks, including making the book display responsive. and not so ugly. diff --git a/config.json b/config.json index af20934..f89c692 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,6 @@ { "TITLE": "pyShelf E-Book Server", - "VERSION": "0.1.0", + "VERSION": "0.2.0", "BOOKPATH": "books/", "DATABASE": "src/db.sqlite3", "BOOKSHELF": "data/shelf.json" diff --git a/docs/html/HTML/GTAGSROOT b/docs/html/HTML/GTAGSROOT index dc5ede3..3da86ee 100755 --- a/docs/html/HTML/GTAGSROOT +++ b/docs/html/HTML/GTAGSROOT @@ -1 +1 @@ -/home/raelon/Projects/pyShelf/app +/home/raelon/Projects/pyShelf diff --git a/docs/html/HTML/index.html b/docs/html/HTML/index.html index c06841c..1fc2c79 100755 --- a/docs/html/HTML/index.html +++ b/docs/html/HTML/index.html @@ -1,16 +1,16 @@ -pyShelf Open Source Ebook Server-0.1.0 +pyShelf Open Source Ebook Server-0.2.0 -

pyShelf Open Source Ebook Server-0.1.0

+

pyShelf Open Source Ebook Server-0.2.0

-Last updated Sun Nov 10 01:10:53 EST 2019
+Last updated Fri Nov 29 22:17:44 EST 2019
Powered by GLOBAL-6.6.3.

diff --git a/docs/html/HTML/mains.html b/docs/html/HTML/mains.html index c06841c..1fc2c79 100755 --- a/docs/html/HTML/mains.html +++ b/docs/html/HTML/mains.html @@ -1,16 +1,16 @@ -pyShelf Open Source Ebook Server-0.1.0 +pyShelf Open Source Ebook Server-0.2.0 -

pyShelf Open Source Ebook Server-0.1.0

+

pyShelf Open Source Ebook Server-0.2.0

-Last updated Sun Nov 10 01:10:53 EST 2019
+Last updated Fri Nov 29 22:17:44 EST 2019
Powered by GLOBAL-6.6.3.

diff --git a/docs/html/HTML/rebuild.sh b/docs/html/HTML/rebuild.sh old mode 100755 new mode 100644 index 26ccd6c..dbc9d71 --- a/docs/html/HTML/rebuild.sh +++ b/docs/html/HTML/rebuild.sh @@ -5,4 +5,4 @@ # Usage: # % sh rebuild.sh # -cd /home/raelon/Projects/pyShelf/app && GTAGSCONF=':skip=HTML/,HTML.pub/,tags,TAGS,ID,y.tab.c,y.tab.h,gtags.files,cscope.files,cscope.out,cscope.po.out,cscope.in.out,SCCS/,RCS/,CVS/,CVSROOT/,{arch}/,autom4te.cache/,*.orig,*.rej,*.bak,*~,#*#,*.swp,*.tmp,*_flymake.*,*_flymake,*.o,*.a,*.so,*.lo,*.zip,*.gz,*.bz2,*.xz,*.lzh,*.Z,*.tgz,*.min.js,*min.css:langmap=c\:.c.h,yacc\:.y,asm\:.s.S,java\:.java,cpp\:.c++.cc.hh.cpp.cxx.hxx.hpp.C.H,php\:.php.php3.phtml:' htags -g -s -a -n -v -w -t 'pyShelf Open Source Ebook Server-0.1.0' /home/raelon/Projects/pyShelf/docs/html +cd /home/raelon/Projects/pyShelf && GTAGSCONF=':langmap=c\:.c.h,yacc\:.y,asm\:.s.S,java\:.java,cpp\:.c++.cc.hh.cpp.cxx.hxx.hpp.C.H,php\:.php.php3.phtml:skip=HTML/,HTML.pub/,tags,TAGS,ID,y.tab.c,y.tab.h,gtags.files,cscope.files,cscope.out,cscope.po.out,cscope.in.out,SCCS/,RCS/,CVS/,CVSROOT/,{arch}/,autom4te.cache/,*.orig,*.rej,*.bak,*~,#*#,*.swp,*.tmp,*_flymake.*,*_flymake,*.o,*.a,*.so,*.lo,*.zip,*.gz,*.bz2,*.xz,*.lzh,*.Z,*.tgz,*.min.js,*min.css:' htags -g -s -a -n -v -w -t 'pyShelf Open Source Ebook Server-0.2.0' /home/raelon/Projects/pyShelf/docs/html diff --git a/docs/html/index.hhc b/docs/html/index.hhc index 96007e5..a1f54eb 100755 --- a/docs/html/index.hhc +++ b/docs/html/index.hhc @@ -4,169 +4,6 @@ diff --git a/docs/html/index.hhk b/docs/html/index.hhk index 236212b..a1f54eb 100755 --- a/docs/html/index.hhk +++ b/docs/html/index.hhk @@ -4,335 +4,6 @@ diff --git a/docs/html/index.hhp b/docs/html/index.hhp index 16094ac..007220f 100755 --- a/docs/html/index.hhp +++ b/docs/html/index.hhp @@ -14,33 +14,7 @@ Title=pyShelf Open Source Ebook Server main="pyShelf Open Source Ebook Server","index.hhc","index.hhk","index.html","index.html",,,,,0x23520,,0x70387e,,,,,,,,0 [FILES] -classapp_1_1config_1_1Config.html -classapp_1_1config_1_1Config-members.html -classapp_1_1lib_1_1api__hooks_1_1DuckDuckGo.html -classapp_1_1lib_1_1api__hooks_1_1DuckDuckGo-members.html -classapp_1_1lib_1_1display_1_1Frontend.html -classapp_1_1lib_1_1display_1_1Frontend-members.html -classapp_1_1lib_1_1library_1_1Catalogue.html -classapp_1_1lib_1_1library_1_1Catalogue-members.html -classapp_1_1lib_1_1pyShelf_1_1BookDisplay.html -classapp_1_1lib_1_1pyShelf_1_1BookDisplay-members.html -classapp_1_1lib_1_1pyShelf_1_1BookServer.html -classapp_1_1lib_1_1pyShelf_1_1BookServer-members.html -classapp_1_1lib_1_1pyShelf_1_1InitFiles.html -classapp_1_1lib_1_1pyShelf_1_1InitFiles-members.html -classapp_1_1lib_1_1pyShelf_1_1RequestHandler.html -classapp_1_1lib_1_1pyShelf_1_1RequestHandler-members.html -classapp_1_1lib_1_1storage_1_1Storage.html -classapp_1_1lib_1_1storage_1_1Storage-members.html -dir_d422163b96683743ed3963d4aac17747.html -dir_9dc6c7acf21934bbaaf79b41db58c4e7.html index.html -annotated.html -classes.html -hierarchy.html -functions.html -functions_func.html -files.html tab_a.png tab_b.png tab_h.png @@ -54,4 +28,3 @@ open.png bdwn.png sync_on.png sync_off.png -classapp_1_1lib_1_1pyShelf_1_1RequestHandler.png diff --git a/docs/html/index.html b/docs/html/index.html index efb15c9..cf0ac9d 100755 --- a/docs/html/index.html +++ b/docs/html/index.html @@ -19,7 +19,7 @@
pyShelf Open Source Ebook Server -  0.1.0 +  0.2.0
Open source, console based E-book server
@@ -47,7 +47,7 @@ $(function() { diff --git a/docs/html/menudata.js b/docs/html/menudata.js index 25e7273..bdab70c 100755 --- a/docs/html/menudata.js +++ b/docs/html/menudata.js @@ -21,13 +21,4 @@ with this program; if not, write to the Free Software Foundation, Inc., for the JavaScript code in this file */ var menudata={children:[ -{text:"Main Page",url:"index.html"}, -{text:"Classes",url:"annotated.html",children:[ -{text:"Class List",url:"annotated.html"}, -{text:"Class Index",url:"classes.html"}, -{text:"Class Hierarchy",url:"hierarchy.html"}, -{text:"Class Members",url:"functions.html",children:[ -{text:"All",url:"functions.html"}, -{text:"Functions",url:"functions_func.html"}]}]}, -{text:"Files",url:"files.html",children:[ -{text:"File List",url:"files.html"}]}]} +{text:"Main Page",url:"index.html"}]} diff --git a/docs/warn.log b/docs/warn.log index 63e674e..9ceb12d 100755 --- a/docs/warn.log +++ b/docs/warn.log @@ -1,62 +1,2 @@ -/home/raelon/Projects/pyShelf/app/config.py:3: warning: Member __init__(self) (function) of class app::config::Config is not documented. -/home/raelon/Projects/pyShelf/app/config.py:4: warning: Member book_path (variable) of class app::config::Config is not documented. -/home/raelon/Projects/pyShelf/app/config.py:5: warning: Member TITLE (variable) of class app::config::Config is not documented. -/home/raelon/Projects/pyShelf/app/config.py:6: warning: Member book_shelf (variable) of class app::config::Config is not documented. -/home/raelon/Projects/pyShelf/app/config.py:8: warning: Member catalogue_db (variable) of class app::config::Config is not documented. -/home/raelon/Projects/pyShelf/app/config.py:9: warning: Member file_array (variable) of class app::config::Config is not documented. -/home/raelon/Projects/pyShelf/app/config.py:13: warning: Member auto_scan (variable) of class app::config::Config is not documented. -/home/raelon/Projects/pyShelf/app/lib/api_hooks.py:11: warning: Member __init__(self) (function) of class app::lib::api_hooks::DuckDuckGo is not documented. -/home/raelon/Projects/pyShelf/app/lib/api_hooks.py:12: warning: Member url (variable) of class app::lib::api_hooks::DuckDuckGo is not documented. -/home/raelon/Projects/pyShelf/app/lib/api_hooks.py:14: warning: return type of member app.lib.api_hooks.DuckDuckGo.image_result is not documented -/home/raelon/Projects/pyShelf/app/lib/display.py:17: warning: Member dimensions (variable) of class app::lib::display::Frontend is not documented. -/home/raelon/Projects/pyShelf/app/lib/display.py:18: warning: Member TITLE (variable) of class app::lib::display::Frontend is not documented. -/home/raelon/Projects/pyShelf/app/lib/display.py:53: warning: return type of member app.lib.display.Frontend.app_body is not documented -/home/raelon/Projects/pyShelf/app/lib/display.py:74: warning: return type of member app.lib.display.Frontend.app_footer is not documented -/home/raelon/Projects/pyShelf/app/lib/display.py:38: warning: return type of member app.lib.display.Frontend.app_Headers is not documented -/home/raelon/Projects/pyShelf/app/lib/display.py:91: warning: return type of member app.lib.display.Frontend.compile is not documented -/home/raelon/Projects/pyShelf/app/lib/display.py:20: warning: return type of member app.lib.display.Frontend.html_Headers is not documented -/home/raelon/Projects/pyShelf/app/lib/library.py:21: warning: Member __init__(self) (function) of class app::lib::library::Catalogue is not documented. -/home/raelon/Projects/pyShelf/app/lib/library.py:27: warning: Member scan_folder(self, folder=config.book_path) (function) of class app::lib::library::Catalogue is not documented. -/home/raelon/Projects/pyShelf/app/lib/library.py:101: warning: Member extract_content(self, book_zip, book) (function) of class app::lib::library::Catalogue is not documented. -/home/raelon/Projects/pyShelf/app/lib/library.py:109: warning: Member extract_cover_html(self, book_zip, book) (function) of class app::lib::library::Catalogue is not documented. -/home/raelon/Projects/pyShelf/app/lib/library.py:117: warning: Member extract_cover_image(self, book_zip, book) (function) of class app::lib::library::Catalogue is not documented. -/home/raelon/Projects/pyShelf/app/lib/library.py:126: warning: Member compare_shelf_current(self) (function) of class app::lib::library::Catalogue is not documented. -/home/raelon/Projects/pyShelf/app/lib/library.py:139: warning: Member import_books(self, list=None) (function) of class app::lib::library::Catalogue is not documented. -/home/raelon/Projects/pyShelf/app/lib/library.py:22: warning: Member file_list (variable) of class app::lib::library::Catalogue is not documented. -/home/raelon/Projects/pyShelf/app/lib/library.py:23: warning: Member opf_regx (variable) of class app::lib::library::Catalogue is not documented. -/home/raelon/Projects/pyShelf/app/lib/library.py:24: warning: Member cover_regx (variable) of class app::lib::library::Catalogue is not documented. -/home/raelon/Projects/pyShelf/app/lib/library.py:25: warning: Member html_regx (variable) of class app::lib::library::Catalogue is not documented. -/home/raelon/Projects/pyShelf/app/lib/library.py:53: warning: Member books (variable) of class app::lib::library::Catalogue is not documented. -/home/raelon/Projects/pyShelf/app/lib/library.py:78: warning: return type of member app.lib.library.Catalogue.extract_metadata is not documented -/home/raelon/Projects/pyShelf/app/lib/library.py:43: warning: return type of member app.lib.library.Catalogue.filter_books is not documented -/home/raelon/Projects/pyShelf/app/lib/library.py:61: warning: return type of member app.lib.library.Catalogue.process_book is not documented -/home/raelon/Projects/pyShelf/app/lib/library.py:36: warning: return type of member app.lib.library.Catalogue.scan_book is not documented -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:77: warning: Member books_per_page (variable) of class app::lib::pyShelf::BookDisplay is not documented. -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:78: warning: Member current_page (variable) of class app::lib::pyShelf::BookDisplay is not documented. -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:79: warning: Member thumbnail_size (variable) of class app::lib::pyShelf::BookDisplay is not documented. -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:80: warning: Member thumbnail_scale (variable) of class app::lib::pyShelf::BookDisplay is not documented. -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:81: warning: Member total_pages (variable) of class app::lib::pyShelf::BookDisplay is not documented. -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:99: warning: return type of member app.lib.pyShelf.BookDisplay.booksPerPage is not documented -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:83: warning: return type of member app.lib.pyShelf.BookDisplay.nextPage is not documented -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:91: warning: return type of member app.lib.pyShelf.BookDisplay.previousPage is not documented -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:117: warning: Member __init__(self) (function) of class app::lib::pyShelf::BookServer is not documented. -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:118: warning: Member server_address (variable) of class app::lib::pyShelf::BookServer is not documented. -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:119: warning: Member handler (variable) of class app::lib::pyShelf::BookServer is not documented. -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:120: warning: Member httpd (variable) of class app::lib::pyShelf::BookServer is not documented. -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:143: warning: return type of member app.lib.pyShelf.BookServer.close is not documented -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:122: warning: return type of member app.lib.pyShelf.BookServer.close_prompt is not documented -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:131: warning: return type of member app.lib.pyShelf.BookServer.run is not documented -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:17: warning: Member __init__(self, file_array) (function) of class app::lib::pyShelf::InitFiles is not documented. -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:24: warning: return type of member app.lib.pyShelf.InitFiles.CreateFile is not documented -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:34: warning: Member do_GET(self) (function) of class app::lib::pyShelf::RequestHandler is not documented. -/home/raelon/Projects/pyShelf/app/lib/pyShelf.py:37: warning: Member path (variable) of class app::lib::pyShelf::RequestHandler is not documented. -/home/raelon/Projects/pyShelf/app/lib/storage.py:14: warning: Member __init__(self) (function) of class app::lib::storage::Storage is not documented. -/home/raelon/Projects/pyShelf/app/lib/storage.py:60: warning: Member book_paths_list(self) (function) of class app::lib::storage::Storage is not documented. -/home/raelon/Projects/pyShelf/app/lib/storage.py:67: warning: Member commit(self) (function) of class app::lib::storage::Storage is not documented. -/home/raelon/Projects/pyShelf/app/lib/storage.py:71: warning: Member close(self) (function) of class app::lib::storage::Storage is not documented. -/home/raelon/Projects/pyShelf/app/lib/storage.py:15: warning: Member db_file (variable) of class app::lib::storage::Storage is not documented. -/home/raelon/Projects/pyShelf/app/lib/storage.py:22: warning: Member db (variable) of class app::lib::storage::Storage is not documented. -/home/raelon/Projects/pyShelf/app/lib/storage.py:23: warning: Member cursor (variable) of class app::lib::storage::Storage is not documented. -/home/raelon/Projects/pyShelf/app/lib/storage.py:28: warning: return type of member app.lib.storage.Storage.create_tables is not documented -/home/raelon/Projects/pyShelf/app/lib/storage.py:19: warning: return type of member app.lib.storage.Storage.database is not documented -/home/raelon/Projects/pyShelf/app/lib/storage.py:39: warning: return type of member app.lib.storage.Storage.insert_book is not documented +warning: source app is not a readable file or directory... skipping. +error: Cannot find directory app/. Check the value of the INPUT tag in the configuration file. diff --git a/doxygen.conf b/doxygen.conf index 6ead1ad..740efd9 100644 --- a/doxygen.conf +++ b/doxygen.conf @@ -38,7 +38,7 @@ PROJECT_NAME = "pyShelf Open Source Ebook Server" # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 0.1.0 +PROJECT_NUMBER = 0.2.0 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a