witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

323 Commits

Author SHA1 Message Date
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
Dan Helfman 95577bff55 Began conversion of all controller unit tests to use a real SQLite database. Still incomplete. 2008-08-19 14:22:40 -07:00
Dan Helfman c35a801311 Testing for new backend property, and no longer setting up SQLite connection with PARSE_COLNAMES. 2008-08-19 14:19:40 -07:00
Dan Helfman a5dfc2f826 Added backend property to determine the current database backend. Also fixed timestamp regular expression. 2008-08-19 14:18:08 -07:00
Dan Helfman 9d5840e052 Did some conversion of booleans and timestamps coming out of an SQLite database into the appropriate Python types. 2008-08-18 18:03:08 -07:00
Dan Helfman ef83061d12 If a user's rate plan storage quota is None (indicate no quota), don't calculate the user's storage quota. 2008-08-18 18:00:45 -07:00
Dan Helfman 9d4a33218f Updated Database.py, initdb.py, and updatedb.py to support local SQLite database. Still need other changes in model/*.py though. 2008-08-15 17:27:03 -07:00