Archived
1
0
Commit Graph

329 Commits

Author SHA1 Message Date
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
Dan Helfman
25ac437a54 I don't pretend to understand how Windows works. 2008-08-21 14:15:37 -07:00
Dan Helfman
9bd86b53e8 Fixed import in unit test. 2008-08-21 14:06:26 -07:00
Dan Helfman
a3c13d4edf Unit tests for new auto-login functionality. 2008-08-20 21:56:20 -07:00
Dan Helfman
27581a0445 For desktop version, creating default user and auto-logging that user in. Also set a larger session timeout for desktop version. 2008-08-20 19:50:18 -07:00
Dan Helfman
4cd1e4239d Modified Files.upload() to work even when the user's rate plan has no quota. 2008-08-20 15:08:08 -07:00
Dan Helfman
2fa2010dd9 Added very basic note summarizing for search results if the backend doesn't return a note summary (e.g. for SQLite). 2008-08-19 22:15:54 -07:00
Dan Helfman
ee38d64302 All Notebooks unit tests are now passing with the new SQLite backend. 2008-08-19 17:49:29 -07:00
Dan Helfman
1ecf88cd8f Now using BACKEND flags from Persistent. 2008-08-19 17:49:02 -07:00
Dan Helfman
73219b74ce When deleting file metadata from the database, also removing that data from the cache. 2008-08-19 15:20:58 -07:00
Dan Helfman
5afd5a4b73 Updated Test_root.py to work with new SQLite testing. 2008-08-19 15:05:40 -07:00