witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

331 Commits

Author SHA1 Message Date
Dan Helfman 7f1a644a61 Possibly fixed a bug in which the displayed suggestions sometimes did not
reflect the most recent characters typed.
2008-07-07 15:49:01 -07:00
Dan Helfman 6ac620beb0 Fixed a bug in which clicking a note title suggestion from within the link info title field sometimes didn't update the link properly.
This was due to a race condition between the link info pulldown's
onblur/onchange handler and the suggestion onclick handler, both of which
tried to update the link, title, and summary at about the same time.
2008-07-07 15:38:16 -07:00
Dan Helfman 94b53832d5 Fixed bug in which tab/shift-tab for indending/outdenting nested lists no
longer worked, and in the process made it work in IE as well (which it
never has).
2008-07-03 16:56:17 -07:00
Dan Helfman bbb17e4046 controller.Root.guide() now accepts an optional note_id parameter. 2008-07-03 16:29:42 -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 333e90459d Suggest-as-you-type now works for the search field as well. 2008-06-29 22:26:08 -07:00
Dan Helfman 6163ee0f63 Added suggest-as-you-type feature to link pulldown's title field. 2008-06-29 20:32:13 -07:00
Dan Helfman 94647c4887 Backspacing at the end of a link in IE no longer ends the link.
Fixed a bug where typing a space within a link in IE caused the space to be added to the end of the link.
2008-06-29 15:19:59 -07:00
Dan Helfman 3951d147b3 Now can use tab and shift-tab in Suggest_pulldown, as alternative to down and up keys. 2008-06-29 13:13:20 -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 708de3b7e7 Reorganized and renamed some notebook links on the right side of the page. 2008-06-23 12:56:03 -07:00
Dan Helfman cf7cdefd28 Replaced "add new notebook" link with new notebook button next to
"notebooks" heading.
2008-06-21 22:13:52 -07:00
Dan Helfman 52f9f1be9e New favicon.ico images that looks slightly less dated. 2008-06-21 17:30:34 -07:00
Dan Helfman 0ae6c7ae5c New screenshots. 2008-06-18 19:26:57 -07:00
Dan Helfman 41a85bb41f You can now resize embedded images (small, medium, or large).
Fixed a bug that potentially caused link pulldowns to open in the wrong
location when the page was scrolled past the top.
2008-06-18 17:14:07 -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 9bbed27d73 Fixed a bug in which an image thumbnail could not be loaded unless
you had a valid session.
2008-06-16 23:22:12 -07:00
Dan Helfman f7626d985c Fixed a bug that caused image files to get deleted if there were multiple images embedded within a single note.
Prevented a link pulldown from auto-opening by hovering if another pulldown is already open.
2008-06-16 16:22:50 -07:00
Dan Helfman cfc1c18a55 Tweaked the popup positioning code to prevent popups from getting smashed into the right side of the page. Removed (broken) images from downloaded HTML. 2008-06-16 15:07:17 -07:00
Dan Helfman 522f8b9330 Implemented support for embedded images within wiki notes. Also added hover support to open link pulldowns. 2008-06-13 15:55:19 -07:00
Dan Helfman 8b52ffabfa Updated tools/set_plan.py to automatically update a user's group
membership.
2008-06-09 20:14:42 -07:00
Dan Helfman cf82f1572f It's release day! 2008-06-09 14:41:52 -07:00
Dan Helfman f8efc2f178 Added a new group_storage_bytes member to model.User and some SQL to calculate it. 2008-06-04 19:46:08 -07:00
Dan Helfman cf10cf8c82 Refactored some of the client-side form-handling code to cut down on
special-case hacks.
2008-06-02 14:16:35 -07:00
Dan Helfman 602045c112 New tool for updating a user's rate plan: tools/set_plan.py 2008-05-29 13:48:33 -07:00
Dan Helfman df3d170362 View groups that you're a member of, with an indicatation if you're an admin of that group.
- modify controller.Users.current() to return the user's groups
    - update test_current() unit tests to expect empty groups list in results
  - modify Main_page, Notebook_rss, Front_page, Tour_page, and Upgrade_page to accept a new groups parameter
    - Main_page should add it as a hidden HTML variable
  - update Wiki.js to read the hidden groups variable and display the groups in account settings
2008-05-28 16:05:38 -07:00
Dan Helfman f87fe68ce3 Updated for release. 2008-05-27 14:08:05 -07:00
Dan Helfman 694dc2eaba Removed key binding for title button (ctrl-T), since it was interfering
with tab opening in Firefox.
2008-05-27 13:38:10 -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 be2118805f Fixed a bug where image preloading loaded incorrect paths for
certain images.
2008-05-20 12:43:45 -07:00
Dan Helfman ca61369963 Fix for bug where read-write notebooks that the anonymous user had
read-only access to would show up as read-only, even when logged in.
2008-05-20 00:51:23 -07:00
Dan Helfman 953f572b20 Bug fix: Clear the memcache, search for notes in an main notebook (as the
anonymous user), open a search result from a notebook. Then, login and try to
edit that notebook as a user with read-write privileges. it will show up as
read-only, presumably because it's being read from the cache.
2008-05-19 23:43:33 -07:00
Dan Helfman ae5c911c1c New multiple-notebook search query was way too slow. Now fixed.
- make model.Notebook.sql_search_notes() search either with user_id or an anonymous user_id, not both
  - update controller.Notebooks.search(), so if the anonymous user has access to the given notebook,
    then run the search as the anonymous user instead of the given user id
  - update unit tests
  - don't search trash/deleted notebooks
2008-05-19 22:36:21 -07:00
Dan Helfman 46b767ec27 Added item about multiple notebook search. 2008-05-19 15:17:36 -07:00
Dan Helfman f92891a8d5 Decreased some font sizes so more note links don't wrap as much. 2008-05-19 12:03:40 -07:00
Dan Helfman 15e469b2da Updating for release. 2008-05-18 01:43:40 -07:00
Dan Helfman 1722d02317 Improved the detection of whether an existing note has been altered.
There is still at least one case (IE only) where this detection fails and a
note unaltered by the user gets resaved to the server. This is because IE
alters relative links within design mode documents.
2008-05-17 23:17:37 -07:00
Dan Helfman ff9cb76ec2 Updated download & faq pages with mention of new Mercurial source repository. 2008-05-16 16:02:07 -07:00
Dan Helfman 20995d3b2e Added support for database hostname and ssl mode in configuration file. 2008-05-16 14:12:01 -07:00
Dan Helfman ee24b34b76 Updated the pricing page with more info about each feature. 2008-05-14 22:51:37 +00:00
Dan Helfman 8f08927692 Fixed a bug where the toolbar didn't auto-resize if there were no
notes open.
2008-05-14 08:00:51 +00:00
Dan Helfman 507e8412da New strikethrough toolbar button. 2008-05-14 00:07:02 +00:00
Dan Helfman c9814075fa Added timed autosave. 2008-05-13 22:52:20 +00:00
Dan Helfman 5d38e917f6 * Created different sizes of toolbar buttons.
* Made the toolbar auto-resize based on browser window size.
2008-05-12 23:27:42 +00:00
Dan Helfman d1ecaef3d6 Fixed tools/release.sh to include an empty session directory in the
produced tarball. Without a session directory, installing and running
Luminotes server would yield session deadlock errors.
2008-05-09 19:52:15 +00:00
Dan Helfman 8b705ec4c3 In send_invites(), no longer implicitly assuming rate plan 0 has
notebook_collaboration set to False.
2008-05-08 23:17:17 +00:00
Dan Helfman 0323f6bc91 Passing new yearly parameter to main page. 2008-05-08 19:29:11 +00:00
Dan Helfman a6baa45435 Made signup support yearly subscriptions. 2008-05-08 19:14:39 +00:00
Dan Helfman 269c28983d Support for yearly subscriptions. 2008-05-08 18:39:46 +00:00
Dan Helfman a4eecfaa65 No longer showing "settings" link unless you're viewing your wiki.
In account settings note, now showing link to upgrade/downgrade/cancel.
2008-05-08 03:37:24 +00:00
Dan Helfman 18982dc129 Implemented basic user account settings. Now you can change your email
address.
2008-05-08 03:05:35 +00:00
Dan Helfman 70f52a7406 Fixed a bug where an invite sent for a notebook with an accented unicode
name would cause a UnicodeEncodeError upon sending the invite email. Now
such invites are encoded as quoted-printable UTF-8, while other invites
continue to be 7-bit ASCII.
2008-05-06 23:29:43 +00:00
Dan Helfman bb77cefeaa Possibly fixed a bug where IE 7 would fail to download as HTML via HTTPS
due to cache issues. The fix entailed using a new @weakly_expire decorator
on controller.Notebooks.download_html().
2008-05-06 21:41:00 +00:00
Dan Helfman 60e07faf79 Made it clearer whether the invitee has accepted a particular invite yet. 2008-05-06 06:23:51 +00:00
Dan Helfman 8bed4a7f4d Fixed a bug where the Valid_id() validator would raise a TypeError when
given a None value. Now raising a ValueError instead.
2008-05-05 23:32:45 +00: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 c6ab3b5da0 Fixed a database indexing bug that prevented notes with really long (~2700+
character) titles from saving correctly.

Changed the literal quotation character in the starting wiki note to the
""" character entity so it doesn't show up as a change in the diff.
2008-05-05 22:56:20 +00:00
Dan Helfman b9d92d4080 Instructions for enabling JavaScript, linked from various forms that
require it.
2008-05-05 07:08:09 +00:00
Dan Helfman 1095e509de Fixed yet another diff-breaking edge case. This one had to do with
inserting italicized text right before some existing italicized text.
2008-05-03 07:40:46 +00:00
Dan Helfman 570e0ade77 More diff fixes. This time for "<br/>" tags. 2008-05-03 06:10:09 +00:00
Dan Helfman 94fdd08cf4 * Fixed a bug that prevented diffs from working for notes with links.
* Made CSS for links within <del> or <ins> red or green, respectively.
2008-05-03 05:36:28 +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 d382fb53e2 Can now load children links for a note that's in the trash. 2008-04-29 21:27:05 +00:00
Dan Helfman 53bc23f374 UI and font size changes. 2008-04-29 20:53:39 +00:00
Dan Helfman 99a01ac51b Releasing today! 2008-04-29 03:26:03 +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 25d72da73e Reducing the number of links in the header by consolidating several into
one "support" link.
2008-04-24 23:02:53 +00:00
Dan Helfman 6124532500 * Better support for RSS feeds of notebooks with unicode names.
* Now dynamically altering RSS feed link when notebook is renamed.
2008-04-24 20:32:43 +00:00
Dan Helfman 16ef54164a RSS subscription support. 2008-04-23 02:58:07 +00:00
Dan Helfman 1d03540f71 New "nothing but notes" mode, allowing you to hide everything on the page
except for your notes and the toolbar.
2008-04-18 23:54:09 +00:00
Dan Helfman 1ca9af536c Added RSS subscription links for all notebooks. 2008-04-18 20:49:22 +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 89b9589662 It's gonna release today! 2008-04-16 08:14:20 +00:00
Dan Helfman 33727efcd7 Not showing "recent notes" or note tree instructions while in trash. 2008-04-15 21:05:28 +00:00
Dan Helfman 20d5e4a651 Done. 2008-04-04 07:54:36 +00:00
Dan Helfman d232826d0b Several cosmetic and layout changes to the wiki editing page. Specifically,
made the header that's on the product pages present at the top of the wiki
page as well. Still need to make links bold when viewing certain pages
(help, contact, etc).
2008-04-04 05:39:40 +00:00
Dan Helfman 88d4f4dbfc Added rss icon to blog subscribe link. 2008-04-03 21:49:21 +00:00
Dan Helfman 6fb7038229 * Implemented all unit tests for new thumbnail() and related methods.
* Changed default thumbnail size to ( 125, 125 ) instead of ( 75, 75 ).
2008-04-02 05:34:50 +00:00
Dan Helfman 388b49c345 Now stripping HTML comments. 2008-03-31 04:29:18 +00:00
Dan Helfman b403e5419c Made Html_cleaner support many more HTML tags and attributes, so users can
cut and paste from other programs into Luminotes.
2008-03-31 00:31:13 +00:00
Dan Helfman 0a5af3d9c0 1.2.20 2008-03-29 08:34:15 +00:00
Dan Helfman e04dd2422e Updating items completed. 2008-03-24 22:37:50 +00:00
Dan Helfman e9d2ea28d1 Began redesign of upgrade/pricing page. 2008-03-22 04:01:21 +00:00
Dan Helfman 2cae1faf2d Conditionally quoting download filenames based on detected browser. 2008-03-18 22:22:19 +00:00
Dan Helfman 39a9cba457 Fixed a bug that prevented the upload of filenames with special characters
in them. In other words, I made controller.Files work better with unicode.
2008-03-18 20:40:39 +00:00
Dan Helfman 27c0e90d6d Sigh. 2008-03-17 23:15:53 +00:00
Dan Helfman 0967965847 Implemented transition script to set the ranks for all users' notebooks. 2008-03-17 21:51:26 +00:00
Dan Helfman f3b0d563c1 Fixed database transaction leak by wrapping every exposed database-using
controller method with a new @end_transaction() decorator. This
decorator is responsible for rolling back unfinished transactions.
2008-03-17 21:17:00 +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 fd07c7e120 * When the "all notes" note is the only note open, it now actually hides when
the "hide" button is clicked.
2008-03-12 01:09:06 +00:00
Dan Helfman 22228f5a2c Resizing browser text now causes wiki notes to resize accordingly. 2008-03-11 23:50:09 +00:00
Dan Helfman 8262281483 Adding a Debian init script for the Luminotes server. 2008-03-11 19:58:53 +00:00
Dan Helfman db101b2c2f Don't call ScrollTo for display of messages/errors if the error/message is fully visible within the window. 2008-03-11 10:40:43 +00:00
Dan Helfman 7c51c02928 Show list of all notes on startup if there are no startup notes and the
notebook isn't empty.
2008-03-11 04:52:23 +00:00
Dan Helfman c0cf5892be No longer popping up a link info box when clicking on a note link. 2008-03-11 00:48:37 +00:00
Dan Helfman cf00a491a7 Releasing today. 2008-03-10 23:16:04 +00:00
Dan Helfman 2d55455120 Fixed a bug where, after you highlighted a link and clicked the link button
to unlink it, the link info box popped up.
Actually checking in cache changes that were supposed to be in previous
release.
2008-03-10 23:15:33 +00:00
Dan Helfman 0bbd3d19a2 Now making separate memcache connections for each use of the cache. 2008-03-10 21:30:39 +00:00
Dan Helfman 2b0a9af3e3 Client code now only calls save_note() on the server when necessary, and
takes startup flag into account.

Fixed unit test for database cache.
2008-03-07 23:14:39 +00:00
Dan Helfman 696029a019 Updated for new release. 2008-03-06 23:35:47 +00:00
Dan Helfman 192d043e29 JavaScript code now tracking editor dirty state and not calling save_note() when editor is clean. 2008-03-05 02:56:58 +00:00
Dan Helfman 21ccc97826 Now using memcached in various places to improve performance. If the Python
cmemcache module is not importable, then memcached simply won't be used.
2008-03-05 00:34:58 +00:00
Dan Helfman bb89c42e60 * Wrote a database reaper script to delete unused notes, notebooks, etc.
* Added some database indices to improve select performance.
2008-03-04 20:01:59 +00:00
Dan Helfman 3af5af18c5 Changed controller.Users.logout() to not be a JSON method so just hitting the
"/users/logout" URL will log you out and redirect you the front page.

Made front page prettier and better at explaining Luminotes (hopefully). The
front page is no longer a wiki, but is instead a mostly static page.
2008-03-01 00:26:06 +00:00
Dan Helfman 846d936a2a Changing some wording in the money-back guarantee for clarity, and add an "absolutely no lock-in" section. 2008-02-27 23:53:05 +00:00
Dan Helfman 5dfe787570 It's release time! 2008-02-25 22:18:46 +00:00
Dan Helfman 731dc52623 More work on file uploading. Unit tests need to be fixed. 2008-02-18 20:08:07 +00:00
Dan Helfman 6bdacd272e * Replaced a workaround for a Firefox DesignMode bug. The bug causes a jumping
text cursor. The previous workaround involved appending <span> tags and had
   other negative side-effects. The new workaround involves removing extra <br>
   tags.
2008-01-28 20:45:36 +00:00
Dan Helfman c4a313bf08 Completed conversion of checkbox and radio button text to use HTML <label> tag. 2008-01-26 19:32:22 +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 43f4376821 Gonna release! 2008-01-22 23:36:32 +00:00
Dan Helfman cb0e9137c9 Fixed several race conditions between save_note() and other note-mutating controller methods. 2008-01-22 23:29:16 +00:00
Dan Helfman 4fd44700e1 Now tracking conversions for subscriptions.
Notes in the trash can no longer be edited. They must be undeleted first.
2008-01-22 20:29:29 +00:00
Dan Helfman be42d9f551 Updated screenshot thumbnails. 2008-01-17 05:40:53 +00:00
Dan Helfman 944c7700e3 Time for a release! 2008-01-15 08:24:02 +00:00
Dan Helfman 8f00cceb94 Made upgrade page dynamically generated on the server instead of static html.
This allows things like only displaying subscription buttons if you're logged in.
2008-01-10 08:33:19 +00:00
Dan Helfman 08cd7057f3 Fixed bug that prevented you from opening a note with a title that looked
like an external URL.
2008-01-08 23:33:25 +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 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
Dan Helfman a354eadcbb When saving a model.Notebook or model.Note to the database, set the user_id field based on the current user. 2008-01-01 01:44:54 +00:00
Dan Helfman 0eae953a30 Adding release date. 2007-12-30 19:49:08 +00:00
Dan Helfman 4a5aeaed98 Implemented server-side portion of revoke_invite(), so now the UI for revoking invites functions properly. 2007-12-14 01:53:12 +00:00
Dan Helfman a501d5fcce UI for invite revocation. 2007-12-13 22:29:57 +00:00
Dan Helfman 52c111895a Non-paying users can now invite people to their notebook, but only as viewers.
Paying users can invite them as viewers, collaborators, or owners.
2007-12-11 02:58:31 +00:00
Dan Helfman a615f65d29 Made send_invites() update any similar invites that have already been sent. 2007-12-06 22:05:00 +00:00
Dan Helfman 83b3fb5baa Refactored Wiki.toggle_button to work mostly correctly, as the previous revision broke it. 2007-11-30 01:43:06 +00:00
Dan Helfman 333a787427 Updating with 1.0.3 infoz. 2007-11-28 23:21:30 +00:00
Dan Helfman af3bf3c51c Improving error reporting and completing 1.0.2. 2007-11-28 19:17:13 +00:00
Dan Helfman e67e2bb253 Releasing 1.0.1. 2007-11-17 23:36:01 +00:00
Dan Helfman b22c784d39 Can now create and rename notebooks. Still need to implement deletion and some other niceties. 2007-11-15 01:30:45 +00:00
Dan Helfman e984fef4f1 Adding a changelog file. 2007-11-13 04:07:53 +00:00