witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

361 Commits

Author SHA1 Message Date
Dan Helfman a55934f948 Fixed a Luminotes Desktop bug in which creating and then clicking on a new note link sometimes caused a red error message.
This was due to a floating point rounding error in Luminotes that occured when loading note revisions from a SQLite database.
2008-12-12 23:36:29 -08:00
Dan Helfman c07d315ffe Replaced title button with font face button. Needs more work in IE. Also added more rounded corners to several display elements. 2008-12-10 23:21:44 -08:00
Dan Helfman b1cdfad22b Redirecting to blog friendly id instead of standard id. 2008-11-18 17:10:16 -08:00
Dan Helfman d3e040d984 Blog post URLs are now user-friendly and SEO-friendly. 2008-11-18 15:11:58 -08:00
Dan Helfman c211456130 Lots of discussion forum / blog work. 2008-11-18 13:28:51 -08:00
Dan Helfman a53a88c320 Unit tests for controller.Users to handle current() change so only parent notebooks are returned. 2008-11-17 23:38:22 -08:00
Dan Helfman af42aae7cc Converted the Luminotes blog to work like a forum, so now you can post comments on Luminotes blog posts. 2008-11-17 15:23:22 -08:00
Dan Helfman aa4d3585bd Rearranged many of the navigation links and expanded the product page footer. 2008-11-15 13:15:51 -08:00
Dan Helfman 61e6db6835 Forum pages should not cache so aggressively. 2008-11-06 14:35:20 -08:00
Dan Helfman 725dbcdcb7 Changed controller.Files.purged_unused() to support file links with rel="nofollow", thereby fixing a bug that purged all uploaded files! 2008-11-06 12:30:00 -08:00
Dan Helfman 5f42cb2dd1 Removed an unnecessary psycopg2 import that broke Luminotes Desktop. 2008-11-06 11:44:28 -08:00
Dan Helfman 889577ddfe Completed controller.Forums unit tests. 2008-11-05 14:02:33 -08:00
Dan Helfman 99bebd6c98 Fixed some subtle edge cases in controller.Notebooks.load_notebook(). 2008-11-05 14:02:22 -08:00
Dan Helfman 1baa85bff1 Most unit tests for controller.Forums(). Still need unit tests for controller.Forum.create_thread(). 2008-11-04 17:01:07 -08:00
Dan Helfman 58a7ca67af Fixed datetime import. 2008-11-04 13:44:17 -08:00
Dan Helfman baf529de6d Unit test for forum redirect in controller.Notebooks.default(). 2008-11-04 12:50:06 -08:00
Dan Helfman 8a00da6945 Unit tests for controller.Notebooks.old_notes() method. 2008-11-04 12:38:10 -08:00
Dan Helfman 7b7e7a6c73 Unit tests for controller.Files.* to ensure that uploads are disabled for own-notes-only notebooks. 2008-11-04 12:17:06 -08:00
Dan Helfman 0b5cd2495f Lots more unit tests for READ_WRITE_FOR_OWN_NOTES notebooks. 2008-11-04 11:35:10 -08:00
Dan Helfman 3dad16d187 controller.Users.load_notebook() now disallows read-write access for anonymous/demo users to "own notes only" notebooks. 2008-11-04 10:29:19 -08:00
Dan Helfman a97cec4369 Unit tests for new controller.Notebooks.save_note() return parameter: rank. 2008-11-03 14:36:57 -08:00
Dan Helfman c39783f7ec Unit tests for controller.Notebooks.rename() for a READ_WRITE_FOR_OWN_NOTES notebook. 2008-11-03 13:37:49 -08:00
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