witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

918 Commits

Author SHA1 Message Date
Dan Helfman ad62d6c87c Added some missing members to make py2exe happy. 2008-08-21 15:01:47 -07:00
Dan Helfman fccd250ef9 Even more general-purpose. 2008-08-21 14:58:36 -07:00
Dan Helfman d28d97e3a5 Making setup.py a little more general-purpose. 2008-08-21 14:54:39 -07:00
Dan Helfman 30283b0e29 More unit tests passing on Windows. 2008-08-21 14:22:20 -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 0d012fbfef Initial setup.py for py2exe and additional .hgignore entries for the generated py2exe directories. 2008-08-21 13:52:18 -07:00
Dan Helfman 60aa794adc No longer disabling session filter on static files for desktop config. 2008-08-21 13:44:51 -07:00
Dan Helfman 1c834af8df Okay, just doing the datetime precision hack unconditionally on Windows. 2008-08-21 00:43:15 -07:00
Dan Helfman 0e2e665cca Making float into int to stifle deprecation warning. 2008-08-21 00:35:05 -07:00
Dan Helfman 3fa1e8f8e6 Hack to work around poor timer precision on Windows. This bug prevented Persistent.update_revision() from working consistently. 2008-08-21 00:33:19 -07:00
Dan Helfman a3c13d4edf Unit tests for new auto-login functionality. 2008-08-20 21:56:20 -07:00
Dan Helfman 81fabe98c0 In desktop mode, most header links are now undisplayed. Also, no longer creating default notes in initdb.py for desktop version. 2008-08-20 20:50:41 -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 7d8240f7be Added new notebook_sharing rate plan config option to control whether the user can share notebooks at all. 2008-08-20 17:05:21 -07:00
Dan Helfman f5b0839e4b Releasing today. 2008-08-20 16:07:17 -07:00
Dan Helfman 52e67c9ab5 Fixing broken uploads in desktop configuration. They needed more than one thread to upload and poll progress simultaneously. 2008-08-20 16:05:43 -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 0a8e0ea7f3 Updated copyright date. 2008-08-20 14:34:03 -07:00
Dan Helfman 573b06fc01 Removed JavaScript unit/functional tests since they weren't really maintained. At least there are several hundred Python unit tests. 2008-08-20 02:06:14 -07:00
Dan Helfman 33a61b67d8 Fixed a typo. 2008-08-19 23:38:03 -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 410f6f8cbf Added basic note searching for SQLite. Should really be using SQLite's full-text search instead.
In sql_load_notes, no longer adding offset clause if start = 0 since SQLite doesn't like offset without limit.
Switched from using "ilike" to "like" with lower(), since "ilike" is a PostgreSQL-specific extension.
Moved BACKEND flags from Database to Persistent to prevent need from circular imports (model files importing controller.Database).
2008-08-19 17:48:33 -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 85443e3849 Fixed another limit/offset ordering problem to make SQLite happy. 2008-08-19 14:45:13 -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 d0d0946788 Added backend parameter to sql_calculate_storage() for SQLite support. Also fixed bug in which salt could contain "\" character. 2008-08-19 14:21:59 -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 71c48b8f05 Upgrade page now properly handles storage quota of None. 2008-08-18 18:11:25 -07:00
Dan Helfman f6fbf724f3 quote() function now correctly handles bools as input such that SQLite gets a 't' or 'f' value as appropriate. 2008-08-18 18:07:08 -07:00
Dan Helfman 98042c5c3f Fixed ordering of SQL offset/limit clauses to make SQLite happy. 2008-08-18 18:05:51 -07:00
Dan Helfman 58cf113f71 Fixing broken parameter parsing. Should really generalize this and maybe do real parsing. 2008-08-18 18:05:20 -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 293a2eedab config/Desktop.py now overrides the rate plans with its own plan that includes no storage quota. 2008-08-18 18:01:50 -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
Dan Helfman 3d1919287b Began a local/desktop mode, and made the server exit upon startup if it's already running. 2008-08-15 15:00:16 -07:00
Dan Helfman c37e35b042 Fixed a rare bug in which undeleting a note via "undo" sometimes does not show the undeleted note even if the undelete is successful. 2008-08-13 13:34:30 -07:00
Dan Helfman c5b916885a When clearing pulldowns, preventing use of pulldown div if it has no pulldown member. 2008-08-13 13:02:07 -07:00
Dan Helfman c6dbeffc10 Fixed a bug in which the character encoding of uploaded CSV files was not properly detected and used to decode the file.
Note that this fix introduces a new dependency: http://chardet.feedparser.org/ found in the python-chardet package.
2008-08-11 22:53:01 -07:00
Dan Helfman 5ef02e5c0c Fixed a bug in Firefox 3 in which disabling title text did not work. Fixed a bug in Firefox 2 and 3 so enter consistently inserts the same tag. 2008-08-11 20:37:20 -07:00
Dan Helfman f3aa7a4497 Added a light gray line under note title text to make it clearer that it's a title as opposed to just bold text. 2008-08-11 17:35:59 -07:00
Dan Helfman cc6338ec31 Releasing today. 2008-08-11 13:28:49 -07:00
Dan Helfman 6e8e1a31c9 Improved escaping of titles based on value of plaintext parameter. Finished unit for import_csv(). 2008-08-11 13:21:12 -07:00
Dan Helfman 6b8bb9ce4f Tweaked CSV import to support HTML refs (e.g. >) in imported titles. 2008-08-11 03:47:17 -07:00
Dan Helfman 4d50c1b869 Began unit tests for Notebooks.import_csv() and added stub tests for those that are still to do. 2008-08-11 02:34:32 -07:00