Dan Helfman
3193ad667d
Updated FAQ entry about the desktop version.
2008-08-22 13:53:27 -07:00
Dan Helfman
ba4340f55f
Fixed a bug in tools/initdb.py and tools/updatedb.py that caused them to only use some of the configured settings.
2008-08-22 13:52:41 -07:00
Dan Helfman
f6031b1cc3
Changed from a console app to a Windows "GUI" app to prevent a big console box from popping up when the app is run.
2008-08-21 22:36:57 -07:00
Dan Helfman
ad6de74604
Added initialization of luminotes.db database file. Also reorganized setup.py so it can run without py2exe.
2008-08-21 22:01:59 -07:00
Dan Helfman
22c3bbdbb3
Initial Windows installer packaging based on py2exe Inno Setup example.
2008-08-21 21:34:44 -07:00
Dan Helfman
6db1494f9c
Calling change_to_main_dir() earlier so it actually influences config/Desktop.py, which calls os.getcwd().
2008-08-21 20:10:28 -07:00
Dan Helfman
f092abee11
Automatically change to directory where executable / main script is located.
2008-08-21 17:44:39 -07:00
Dan Helfman
af145cd79c
Automatically assume "-l" (local/desktop) option when running from within a py2exe executable.
2008-08-21 17:25:25 -07:00
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