witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

310 Commits

Author SHA1 Message Date
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
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 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 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 9ed4254e43 When there's no CSV title column, attempting to use the first line of the contents instead of just the first few words.
Also nuking HTML earlier on so that it doesn't interfere with title truncation.
Still needs unit tests for this code.
2008-08-09 01:08:15 -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
Dan Helfman cc317c03ad Enforcing maximum note length after stripping the note of any disallowed HTML tags instead of before.
Also fixed broken unit test for save_note() without login.
2008-08-05 17:42:56 -07:00
Dan Helfman d8c58e5f5d Fixed a bug where clicking the link for an updated note in an RSS feed did not properly redirect to that note after login. 2008-07-25 17:05:13 -07:00
Dan Helfman 9d2f0d344d When you invite other people to view or edit your notebook, you can now see the invite link they'll get. 2008-07-18 15:01:09 -07:00
Dan Helfman 8271f82734 Unit tests for controller.Notebooks.revert_note(). 2008-07-11 17:06:01 -07:00