witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

339 Commits

Author SHA1 Message Date
Dan Helfman 681e11e9a7 Disabled access to several controller methods for READ_WRITE_FOR_OWN_NOTES notebooks.
Also fixed some unit tests. Many other unit tests are forthcoming.
2008-10-31 16:59:36 -07:00
Dan Helfman 9aac28bbb5 Made database tests not give spurious timing based errors. 2008-10-31 16:57:55 -07:00
Dan Helfman 23bff4d6b2 For forum threads, redirect from /notebooks/... URLs to corresponding /forums/... URLs. 2008-10-31 15:55:08 -07:00
Dan Helfman 6708675fec Factored out page navigation (pagination) code and made use of it on forum thread list page. 2008-10-31 15:17:59 -07:00
Dan Helfman fd681ed388 Changes to html cleaner to make all external links nofollow to discourage forum spammers. 2008-10-31 11:57:45 -07:00
Dan Helfman ab591a53ce Converting Decimal to float when returning rank. 2008-10-30 15:39:29 -07:00
Dan Helfman b4a40d2c25 More work on the discussion forums. 2008-10-30 15:26:27 -07:00
Dan Helfman 22c49a9590 Rewrote Session_storage class, because it was periodically raising ProgrammingErrors due to simultaneous cursor access from different threads. 2008-10-30 14:43:25 -07:00
Dan Helfman 3a5ca1d462 Actually need to return the loaded data.. 2008-10-29 15:33:15 -07:00
Dan Helfman ba7a9437d8 "Fix" for occasional "ProgrammingError: no results to fetch" from rows = self.cursor.fetchall() in PostgreSQL session filter. 2008-10-29 15:09:45 -07:00
Dan Helfman 58c8fdac00 Fixed an occasional bug that caused unexpected logouts by moving the session info into the database. No more write races. 2008-10-29 14:26:22 -07:00
Dan Helfman 3e51057d2d Order forum threads in reverse chronological order by creation date. 2008-10-28 14:38:01 -07:00
Dan Helfman bce99c26bc New forum thread creation code, plus a re-working of URLs under "/forums/" 2008-10-28 14:07:49 -07:00
Dan Helfman 272240ba41 tools/initdb.py now sets the database schema_version. 2008-10-27 14:01:08 -07:00
Dan Helfman 36af0bbfed Propagating notebook tags to the UI code. 2008-10-24 15:07:36 -07:00
Dan Helfman 384166b4cc Can now create a new note in a read-write-for-only-your-own-notes notebook. 2008-10-24 12:58:41 -07:00
Dan Helfman 388f2fcb02 Foundational work for both tags and discussion forums. Should have checked this in in smaller pieces. 2008-10-24 11:51:19 -07:00
Dan Helfman a7f705ef06 Now doing schema_version table creation within upgrade_schema() method instead of apply_schema_delta(). 2008-10-17 01:26:12 -07:00
Dan Helfman a8e80db8bd Use cursor.executescript() for the SQLite backend only. 2008-10-17 01:24:48 -07:00
Dan Helfman a77267d9e4 Optimization to bail early if the database is already all upgraded. 2008-10-15 21:49:20 -07:00
Dan Helfman d79876999a If Schema_upgrader encounters a database without a schema_version set, assumes that it's a 1.5.4 schema. 2008-10-15 21:14:42 -07:00
Dan Helfman 0a1d481201 New programatic schema upgrader that can upgrade a database from one version to another. 2008-10-15 17:44:05 -07:00
Dan Helfman c94443a8c3 Made signup conversion tracking more accurate. 2008-10-15 12:53:00 -07:00
Dan Helfman 122ef0cc27 Backing out extra indentation. 2008-10-08 15:56:30 -07:00
Dan Helfman f1d814cfd6 Now that Cherrypy session locking is gone, locking is now performed in controller.Database, but only for the SQLite backend. 2008-10-08 00:44:16 -07:00
Dan Helfman de0977b082 Removed implict session locking from unit tests as well. 2008-10-07 14:35:52 -07:00
Dan Helfman 22f25ba274 Improved page loading speed and fixed a rare session locking timeout bug by removing all implicit session locking. 2008-10-07 14:34:33 -07:00
Dan Helfman 815b05e574 Fixed a bug that broke that Luminotes Desktop product download page if PayPal took too long to notify Luminotes of the purchase. 2008-10-07 13:59:34 -07:00
Dan Helfman 4d24914496 Leading/trailing spaces and newlines in note titles and contents are now stripped out when exporting to CSV. 2008-09-29 23:35:45 -07:00
Dan Helfman f2b88441ee Leading/trailing spaces in note titles are now ignored when making links to such notes. 2008-09-28 14:48:22 -07:00
Dan Helfman 8c54f7e59c Testing rewriting of imported note links that have full protocol and server ("http://blah/"), as IE tacks on. 2008-09-26 23:06:40 -07:00
Dan Helfman 7a3fe2fc5a Fixed incorrect commit order in import_csv(). 2008-09-26 23:01:01 -07:00
Dan Helfman 32da3d3db2 Fixed bug in which an incorrectly detected CSV header or an invalid note_id value could break an entire CSV import. Now just ignoring invalid note_id values. 2008-09-26 22:23:38 -07:00
Dan Helfman c04475fc7e Fixed bug in which attempting to export a notebook containing a note saved by a user without a username would raise an error. 2008-09-26 21:57:53 -07:00
Dan Helfman 61fb8cc079 Fixed a bug in which attempting to export a notebook containing a note without a title would raise an error. 2008-09-26 21:54:43 -07:00
Dan Helfman 38f4772a6a Completed note link rewriting support for CSV importing. Also completed unit tests for that and CSV exporting. 2008-09-26 21:30:40 -07:00
Dan Helfman 6c46951285 Mentioned Google Chrome. Added a link to contact info for people to vote for their browser choice. 2008-09-22 14:23:13 -07:00
Dan Helfman 968ef22bc4 Implemented CSV exporting, and improved CSV importing to better handle the exported CSV files.
Importing still needs work on properly handling internal note links.
2008-09-17 23:39:11 -07:00
Dan Helfman 6831fe6d89 Fixed a bug in which the /files/preview page couldn't display unicode filenames with special characters.
The problem was that the filename was encoded as UTF-8 twice, rather than once.
2008-09-17 15:38:54 -07:00
Dan Helfman ae31a871a2 Fixed some bugs with product payment / download after testing with PayPal's sandbox with PDT and auto-return.: 2008-09-11 16:57:51 -07:00
Dan Helfman 9247683a72 Lots more work on the payment code necessary to support Luminotes Desktop. 2008-09-11 00:36:12 -07:00
Dan Helfman 949778e702 Fixed a bug in which Luminotes Desktop file attachment did not always work due to incorrect upload progress reporting. 2008-09-08 15:11:49 -07:00
Dan Helfman 6bbe32bfff If the item number is blank, ignore the transaction. 2008-09-01 19:18:05 -07:00
Dan Helfman 6bd2dd510f Lots of product page work for Luminotes Desktop. 2008-08-28 21:19:55 -07:00
Dan Helfman f07cd2dc41 Notebooks.summarize_note() can now optionally highlight some particular text. 2008-08-26 19:35:50 -07:00
Dan Helfman 9e1ae2abb6 Changing default file mode from just "b" to "rb", since Python complains otherwise. 2008-08-25 23:47:25 -07:00
Dan Helfman 7a65670c45 Now storing uploaded files in home directory / APPDATA. And made uploads always use binary mode, necessary on Windows.
Also fixed removal of log files on startup to remove them from the right location.
2008-08-25 23:30:36 -07:00
Dan Helfman ebee4e5135 luminotes.db now goes in a user-specific directory. 2008-08-25 17:43:09 -07:00
Dan Helfman fed6bb7b9d Configured a separate error log where tracebacks go. Should work on all platforms. 2008-08-23 20:00:00 -07:00
Dan Helfman 3e7cd20d43 New "-k" command-line parameter to shutdown an existing local Luminotes server (if allowed by the configuration). 2008-08-22 18:29:49 -07:00