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
b4a40d2c25
More work on the discussion forums.
2008-10-30 15:26:27 -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
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
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
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
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
f07cd2dc41
Notebooks.summarize_note() can now optionally highlight some particular text.
2008-08-26 19:35:50 -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
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
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
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
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
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
Dan Helfman
178bf48c86
Completed Files.csv_head() unit tests and reduced maximum returned elements per row length.
2008-08-09 02:13:52 -07:00
Dan Helfman
64bf4c49ee
No longer introducing double newlines in CSV header sniff sample.
...
Also fixed unit tests for Files.parse_csv() with data appropriate for correctly sniffing the header.
2008-08-09 01:04:06 -07:00
Dan Helfman
52f129e571
New notebook import feature for importing notes from a CSV file. (Beta.)
...
Uses existing file upload mechanism with slightly modified UI to upload the file.
Then there's new CSV parsing code to parse the CSV and import it as a new notebook.
Still need a few more unit tests before this feature can be considered complete.
2008-08-08 16:39:53 -07:00