Dan Helfman
c211456130
Lots of discussion forum / blog work.
2008-11-18 13:28:51 -08:00
Dan Helfman
baf529de6d
Unit test for forum redirect in controller.Notebooks.default().
2008-11-04 12:50:06 -08:00
Dan Helfman
8a00da6945
Unit tests for controller.Notebooks.old_notes() method.
2008-11-04 12:38:10 -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
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
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
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
f07cd2dc41
Notebooks.summarize_note() can now optionally highlight some particular text.
2008-08-26 19:35:50 -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
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
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
8271f82734
Unit tests for controller.Notebooks.revert_note().
2008-07-11 17:06:01 -07:00
Dan Helfman
48f58d0c0e
Fixed bug in which bolding of suggest-as-you-type search text was case sensitive. Now it's case insensitive.
2008-06-29 22:49:29 -07:00
Dan Helfman
0271c4b5d9
Implemented full unit tests for controller.Notebooks.search_titles().
2008-06-29 15:50:27 -07:00
Dan Helfman
599971ba01
When linking to a note by title, the note resolution is now
...
case-insensitive instead of case-sensitive.
2008-06-25 20:04:06 -07:00
Dan Helfman
eaf45f5599
Links to embedded images now show up within the note tree's list of links.
...
Links to files that have not yet been uploaded (or have been deleted) are
now excluded from the note tree's list of links.
2008-06-17 20:25:44 -07:00
Dan Helfman
6fcec83167
Fixed annoying bug where some unit tests didn't use stub SMTP class and so actually send real email messages.
2008-06-07 17:06:43 -07:00
Dan Helfman
e971959755
Attempting to access the RSS feed for a non-existent notebook now
...
displays a somewhat informative message in the feed instead of just
silently raising an error.
2008-05-26 23:00:31 -07:00
Dan Helfman
1d17ea4eff
Fixed a bug where attempting to load a notebook preview without access
...
would give a "list index out of range" error instead of an access error.
2008-05-05 23:10:26 +00:00
Dan Helfman
97c373561d
* Added replace_contents() to model.Note to set the contents without updating the revision or anything else.
...
* Added new optional previous_revision params to default(), contents() and load_note() in controller.Notebooks.
These use Html_differ() to generate and return diffs.
* Updated Wiki.js:
* provide previous_revision when a revision is opened in a new window/tab
* call load_note() when two revisions when a revision is clicked in Changes_pulldown
* update compare_versions() to display a diff instead of opening the two revisions separately
* update load_editor():
* update all invocations of load_editor(), including in Editor.js, to accept a new previous_revision argument
* modify load_editor() to use the previous_revision argument (when supplied) to load a diff
2008-05-03 04:29:23 +00:00
Dan Helfman
5f852a3d8e
Bug fix: Used to get access error when you loaded the children links for a note that was in the trash.
2008-04-29 21:26:09 +00:00
Dan Helfman
b71568b35b
Implemented unit tests for controller.Notebooks.load_recent_updates().
2008-04-29 03:25:38 +00:00
Dan Helfman
1d0867d776
* Renamed existing controller.Notebooks.load_recent_notes method to just recent_notes().
...
* Implemented new controller.Notebooks.load_recent_updates() method.
* Added new Wiki.js total_notes_count_updated signal
* Added "more" and "less" links to "recent updates" table.
* Updated Wiki.js Recent_notes to support new "more" and "less" links.
* Commented out unfinished discussion forums unit test.
2008-04-29 00:54:08 +00:00
Dan Helfman
ea87c273f9
Added unit tests for new RSS related controller methods.
...
Setting separator to empty for a few more Rss_item elements.
2008-04-23 02:54:59 +00:00
Dan Helfman
c488864273
* Now if you try to load a page where access is required, and you're not
...
logged in, you'll be redirected to a login page. After you login, you'll
be redirected to the page you were originally trying to access.
2008-04-18 19:54:50 +00:00
Dan Helfman
d0a1cbf71d
Complete unit tests for controller.Notebooks.load_note_links().
2008-04-16 08:13:35 +00:00
Dan Helfman
8541c784be
Modified tests for controller.Notebooks.default() to test for new "recent_notes" return value.
2008-04-16 07:33:07 +00:00
Dan Helfman
276bb9b5bc
Fixing unit test to account for new Html_cleaner tag stripping behavior.
2008-04-01 21:32:01 +00:00
Dan Helfman
49a4c3c72d
Completed unit tests for notebook movement methods.
2008-03-17 22:37:37 +00:00
Dan Helfman
94a51889f9
Added ability to reorder notebooks on the right side of the page.
...
Need to complete unit tests for controller.Notebooks.move_up() and move_down().
2008-03-15 03:04:59 +00:00
Dan Helfman
ffd2d15175
Now, if you delete a notebook and the only remaining notebook is read-only,
...
then a new read-write notebook is created for you automatically. This fixes a
bug where you could delete a notebook and have only a read-only notebook
remaining, thereby having no way to add a new notebook.
2008-01-24 22:02:02 +00:00
Dan Helfman
2bcbc17172
Feature to preview notebook as viewer or collaborator, so you can see what it
...
will look like to people you share it with.
Hopefully fixed broken demo conversion detection.
2008-01-06 00:12:18 +00:00
Dan Helfman
9fb0951c16
Unit test for one user saving a note that was created by a different user.
2008-01-04 22:58:20 +00:00
Dan Helfman
5520fe5892
* make a User_revision object containing a revision timestamp, user_id, username
...
* change controller.Notebooks.load_note_revisions() to select and return User_revision objects
* change controller.Notebooks.save_note() to use User_revision objects for new_revision and previous_revision as well
* update client to deal with new load_note_revisions() return values (make sure all uses of revisions_list are updated)
* update client to deal with new new_revision/previous_revision
* update changes pulldown to show username along with each timestamp
* update model.Invite to load redeemed_username along with redeemed_user_id
* display the redeemed username next to each email address in the "share this notebook" note
2008-01-04 04:45:43 +00:00