Commit Graph

122 Commits

Author SHA1 Message Date
John Oss d70b1bc0d8 Fix warnings on startup + add more TODO 2022-10-18 21:03:50 -04:00
Charlie Wang 358decd75d Package for bionic 2019-04-26 17:06:11 -04:00
Zachary Seguin 292f6fd8af Package for stretch, buster and xenial 2018-04-15 16:20:52 -04:00
Patrick Melanson d18ff562fc Tweaked exception handling, specifically small screen failures
Changes the dialog window that pops up for any exception to tell
the user to read Python's output (i.e. the stacktrace).
Also, handles the common failure of having too small a window and
trying to create a new ncurses dialog box. There is now a specific
failure message, so people know to make their terminal bigger.

Useful!
2017-12-27 11:48:46 -05:00
Patrick Melanson 4ce53141e0 Use currently-logged-in user to authenticate for mass email sending.
Basically, this commit removes email sending code that asked the
user for a CSC username and email to authenticate to an SMTP server
to send a mass email. Now, we just use the system utility 'sendmail'
to do it, which means you don't have to enter in your email creds
to send a mass email once you're already logged in.

Magic!
2017-09-23 01:24:23 -04:00
Patrick Melanson c812a6634e Quality-of-life improvements to email reminders.
-Tweaked email body wording
-Added To: field
-Added librarian@ as a recipient of reminder emails
-Added a confirmation that emails were sent
-Added ability to cancel email sending (by using cancel button)
-Added a nice confirmation dialog at the end of sending
 reminder emails to keep the librarian's hopes up
2017-07-29 16:46:41 -04:00
Charlie Wang bff0abf3aa Refactor email reminder code
- Pull out email generation into a new module so that the email
message itself can be tested.
- Add a "backdoor" for the email login screen that writes emails to
text files under test_emails/ instead of sending them.
- Add a GNU expect script to automate email reminder testing using
the above features.
2017-02-04 12:21:05 -05:00
Connor Murphy 6ed3c35554 Added ability for libcom to send emails to those with overdue books 2017-02-04 00:24:15 -05:00
Charlie Wang 8e592f3adc use default colour values for better integration
librarian now looks slightly better when launched from ceo
because it won't set a different background colour
2017-02-03 23:39:35 -05:00
Zachary Seguin 7717dc3636 Build for stretch 2017-01-20 23:08:59 -05:00
Felix Bauckholt 1abaec4b0a Slight changes to make adding books more pleasant 2016-03-19 19:06:35 -04:00
Felix Bauckholt 3487b66393 Categorizing and uncategorizing based on selection
Now, in any book browser window, you can add every
selected book to one category.

When you are browsing the books in a category, you
can remove every selected book from that category.
2016-03-12 21:02:43 -05:00
Zachary Seguin f299412d56 Fix issue where python packages are installed in the incorrect location 2016-02-20 16:12:06 -05:00
Felix Bauckholt 694df1ec47 First release! 2016-02-19 20:28:48 -05:00
Felix Bauckholt 19b8869134 Button-only forms, including BookView
The checkout process should be way more convenient
now!

Also, when viewing books (by pressing Enter), you
can see their categories and see if they're
checked out.
2016-02-06 16:44:34 -05:00
Felix Bauckholt da52809b4d Added error messages for the checkout process
Now, it's impossible to sign out stickered books
2016-02-06 16:41:27 -05:00
Felix Bauckholt 9b9e95be69 UI improvements
Some are obvious and urgent (like adding *one*
category instead of one for every letter), some
are debatable (like changing the window size and
the scrolling behavior).
2016-02-06 16:17:51 -05:00
Felix Bauckholt 1690ac87a8 Add "error windows", stop crashing when editing empty list of books 2016-02-06 16:17:44 -05:00
Felix Bauckholt 89c66c8188 Made it possible to view uncategorized books
Also "specialized" lists of books (categorized, on
shelf, checked out, uncategorized) don't revert to
the main book list when refreshing.
2016-02-06 16:13:27 -05:00
Felix Bauckholt 91f1ff9c55 In which I, Felix Bauckholt, assert my dominance
by changing the spacing.

Also by fixing the category window size.
2016-01-24 01:27:47 -05:00
Gianni Gambetti bc2d865520 checkout success/failure for integrity error, and database move 2015-05-11 12:42:49 -04:00
Gianni Gambetti 85ace8ab4c Fixed category sorting for books ('c' on a book), found SQLite error on checking out books 2014-10-19 14:20:08 -04:00
John Ladan ea4f7b8b0e Packaging set up 2014-01-12 20:31:37 -05:00
John Ladan 985355d780 Moving code about for packaging 2013-12-18 20:31:27 -05:00
John Ladan 2d95ac5cde database files put in /users/libcom/ 2013-12-18 19:14:56 -05:00
John Ladan a5a242530c A couple of TODOs added 2013-12-16 01:46:27 -05:00
John Ladan e057e0ec21 Checkout and Return system complete 2013-12-16 01:39:03 -05:00
John Ladan 84548f5332 Couple more checkout related functions 2013-12-13 13:40:41 -05:00
John Ladan af94db4071 Query checked out books added to db_layer 2013-11-29 14:17:58 -05:00
John Ladan 015f65b0fc added checkout functionality to db + some cleanup 2013-11-27 19:59:21 -05:00
John Ladan 841a1f0d17 AddForm works again??? 2013-11-09 01:16:42 -05:00
John Ladan 670347ca73 made tests use python3 2013-11-09 01:05:24 -05:00
Christopher Hawthorne 734c6870b4 Merging changes to book_data.py 2013-11-08 23:44:16 -05:00
Christopher Hawthorne 1637c72955 Added permission checking. Added unit tests for the db_layer and permissions. 2013-11-08 23:35:53 -05:00
John Ladan 7e77b3c416 Added an exception for timeout 2013-11-06 16:57:35 -05:00
John Ladan d858f34ef8 Search forward and back now handles case-sensitive 2013-10-27 17:14:52 -04:00
John Ladan 1324e07bc5 Made sizes of windows better, and easier to change 2013-10-27 17:04:35 -04:00
John Ladan 18058ac98c Finished changing over to new form.py 2013-10-25 17:25:07 -04:00
jladan a7c29c5df0 Updated TODO to match current state 2013-10-25 17:06:50 -04:00
John Ladan de4acf1891 Case insensitive searching; fixed column sorting 2013-10-25 16:07:34 -04:00
John Ladan 4b658477ea Text entry allows wider strings, and fixed code 2013-10-25 15:33:49 -04:00
John Ladan b33b69e7bc Added home and end to browser window. 2013-10-25 12:32:44 -04:00
John Ladan cf01cc3225 Added todo item for search error. 2013-10-23 19:09:01 -04:00
John Ladan e05c6c157b One function to convert query result to a book. 2013-10-23 18:29:06 -04:00
John Ladan 45dafba38a Cleaned files, started to follow naming convention 2013-10-23 12:17:56 -04:00
John Ladan b6ce427f06 finishing fixing bugs from last commit 2013-10-22 18:37:17 -04:00
John Ladan 73c35979c3 python3 conversion 2013-10-21 19:38:21 -04:00
John Ladan 69ade368bc fixed some bugs 2013-10-11 20:15:10 -04:00
John Ladan 6cfa9dd624 Changed the database layer to be more sensible 2013-10-08 12:18:55 -04:00
John Ladan 60047a16d6 more todo 2012-06-24 17:25:08 -04:00