witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

246 Commits

Author SHA1 Message Date
Dan Helfman bbebad528e Renaming new_model to model, now that the old bsddb model is out of the way. 2007-10-11 19:49:00 +00:00
Dan Helfman 17ad869635 Old model no longer needed now that all databases are convered to PostgreSQL. 2007-10-11 19:45:46 +00:00
Dan Helfman 6786f9801a No longer asking the server for revisions for a note that hasn't been saved yet. 2007-10-11 11:29:42 +00:00
Dan Helfman eb3983af9c Oops.. Debugging print was left in. 2007-10-11 11:18:51 +00:00
Dan Helfman b71b12fe50 Converting strings pulled out of the database from utf8 to unicode. 2007-10-11 11:06:50 +00:00
Dan Helfman a11ba8661b Fix for duplicate pkey error. 2007-10-11 10:51:20 +00:00
Dan Helfman 6b2eb3103b Fix for password reset not recording email address. 2007-10-11 10:36:15 +00:00
Dan Helfman 7c2bd7f767 Email address can now be null in a password reset. This is needed for next_id to work. 2007-10-11 10:24:45 +00:00
Dan Helfman fa288418e5 Sigh. 2007-10-11 10:17:36 +00:00
Dan Helfman f1c55ffe9f Fixed bug where password reset form link was broken. 2007-10-11 10:15:22 +00:00
Dan Helfman 1875f1ed00 Fix for case where revisions list doesn't yet exist. 2007-10-11 10:07:27 +00:00
Dan Helfman 384ff85f86 Changing createdb line in install doc to include a UTF8 encoding so it doesn't default to ascii. 2007-10-11 09:48:02 +00:00
Dan Helfman 43c6f54e9f Merged revisions 401-446 via svnmerge from
svn+ssh://torsion.org/home/luminotes/repos/luminotes/branches/postgres

................
  r402 | witten | 2007-10-04 00:48:49 -0700 (Thu, 04 Oct 2007) | 3 lines

  Initialized merge tracking via "svnmerge" with revisions "1-401" from
  svn+ssh://torsion.org/home/luminotes/repos/luminotes/trunk
................
  r404 | witten | 2007-10-04 01:17:07 -0700 (Thu, 04 Oct 2007) | 2 lines

  Beginning a conversion from bsddb to postgres.
................
  r405 | witten | 2007-10-04 01:18:58 -0700 (Thu, 04 Oct 2007) | 9 lines

  Merged revisions 402-404 via svnmerge from
  svn+ssh://torsion.org/home/luminotes/repos/luminotes/trunk

  ........
    r403 | witten | 2007-10-04 01:14:45 -0700 (Thu, 04 Oct 2007) | 2 lines

    Yay, no more stupid deprecation warnings from simplejson about the sre module.
  ........
................
  r406 | witten | 2007-10-04 15:34:39 -0700 (Thu, 04 Oct 2007) | 4 lines

   * Switched back to Python 2.4 because many Python modules in Debian are not packaged to work with Python 2.5
   * Began removal of all references to Scheduler, @async, yield, and so on.
   * Converted Database.py to support PostgreSQL and updated its unit tests accordingly.
................
  r407 | witten | 2007-10-04 16:34:01 -0700 (Thu, 04 Oct 2007) | 2 lines

  All unit tests for the new model classes now pass.
................
  r409 | witten | 2007-10-05 00:53:56 -0700 (Fri, 05 Oct 2007) | 2 lines

  Reordering some columns and adding some indices.
................
  r410 | witten | 2007-10-05 16:08:37 -0700 (Fri, 05 Oct 2007) | 4 lines

  Now adding trash notebooks to user_notebook table. Also switching db
  conversion/verification tools back to require Python 2.5, since they still use
  the old Scheduler, which requires 2.5 generator features.
................
  r411 | witten | 2007-10-06 16:26:56 -0700 (Sat, 06 Oct 2007) | 2 lines

  Lots more unit tests passing. Most of the recent work was on controller.Users and related stuff.
................
  r412 | witten | 2007-10-07 01:52:12 -0700 (Sun, 07 Oct 2007) | 2 lines

  controller.Users unit tests now finally pass!
................
  r413 | witten | 2007-10-07 02:14:10 -0700 (Sun, 07 Oct 2007) | 3 lines

  Got controller.Root unit tests passing.
  Moved fake sql_* function shenanigans from Test_users.py to Test_controller.py, for use by other controller unit tests.
................
  r414 | witten | 2007-10-08 23:11:11 -0700 (Mon, 08 Oct 2007) | 2 lines

  All unit tests pass! Fuck yeah!
................
  r415 | witten | 2007-10-08 23:13:07 -0700 (Mon, 08 Oct 2007) | 2 lines

  Removing all references to Scheduler from luminotes.py
................
  r416 | witten | 2007-10-08 23:54:51 -0700 (Mon, 08 Oct 2007) | 3 lines

  Converted deleted_from to deleted_from_id in a few more places.
  Fixed bug in Users.contents().
................
  r417 | witten | 2007-10-09 00:11:59 -0700 (Tue, 09 Oct 2007) | 3 lines

  Typo fix in Note sql method.
  Adding autocommit flag to Database.next_id() method.
................
  r418 | witten | 2007-10-09 00:13:19 -0700 (Tue, 09 Oct 2007) | 2 lines

  Updating unit test for new auto commit flag.
................
  r419 | witten | 2007-10-09 00:14:09 -0700 (Tue, 09 Oct 2007) | 2 lines

  Removing debugging print.
................
  r420 | witten | 2007-10-09 00:20:55 -0700 (Tue, 09 Oct 2007) | 2 lines

  More sql fixes. I really need some funtional tests that hit the database and exercise the SQL.
................
  r421 | witten | 2007-10-09 00:51:34 -0700 (Tue, 09 Oct 2007) | 3 lines

  Fixed controller.Database handling of tuple as an Object_type.
  Made SQL for user storage calculation better at handling null values and also more succinct.
................
  r422 | witten | 2007-10-09 13:32:16 -0700 (Tue, 09 Oct 2007) | 2 lines

  Converting Wiki.js to trash_id notebook member instead of trash object.
................
  r423 | witten | 2007-10-09 13:42:10 -0700 (Tue, 09 Oct 2007) | 2 lines

  No longer displaying "download as html" on the front page, as people see "download" and think they're downloading the software.
................
  r424 | witten | 2007-10-09 14:24:40 -0700 (Tue, 09 Oct 2007) | 2 lines

  Notebooks.contents() now returns notebooks with correct read-write status.
................
  r425 | witten | 2007-10-09 14:32:25 -0700 (Tue, 09 Oct 2007) | 2 lines

  Fixed reporting of validation errors to the user. Now says "The blah is missing." instead of just "is missing"
................
  r426 | witten | 2007-10-09 17:05:22 -0700 (Tue, 09 Oct 2007) | 2 lines

  No longer redirecting to trash notebook upon login.
................
  r427 | witten | 2007-10-09 17:20:33 -0700 (Tue, 09 Oct 2007) | 2 lines

  Made controller.Database use a connection pool.
................
  r429 | witten | 2007-10-09 20:13:30 -0700 (Tue, 09 Oct 2007) | 2 lines

  Converted initdb.py and updatedb.py to Postgres from bsddb.
................
  r430 | witten | 2007-10-09 20:37:14 -0700 (Tue, 09 Oct 2007) | 2 lines

  Changing error message to remove underscores from variable names.
................
  r431 | witten | 2007-10-10 13:23:30 -0700 (Wed, 10 Oct 2007) | 2 lines

  Removing unused note_title parameter from Wiki.create_editor().
................
  r432 | witten | 2007-10-10 13:25:16 -0700 (Wed, 10 Oct 2007) | 2 lines

  Revision regular expression now supports timezone notation.
................
  r433 | witten | 2007-10-10 14:43:47 -0700 (Wed, 10 Oct 2007) | 2 lines

  Finished implementing ranked ordering for startup notes. (However, there's no way to change the rank from the client yet.)
................
  r434 | witten | 2007-10-10 16:25:19 -0700 (Wed, 10 Oct 2007) | 4 lines

  More strict access checking. Fixed oversight in Postgres DB conversion where,
  in certain controller.Notebook methods, access was only checked at the
  notebook level, not at the note level as well.
................
  r435 | witten | 2007-10-10 17:45:18 -0700 (Wed, 10 Oct 2007) | 3 lines

  Now loading revisions on demand from client when the "changes" button is clicked. Also caching
  loading revisions so subsequent clicks don't have to reload.
................
  r436 | witten | 2007-10-10 21:31:20 -0700 (Wed, 10 Oct 2007) | 2 lines

  Tweaking some of the error handling in Expose and Root so that unhandled errors give a generic error message to the client.
................
  r437 | witten | 2007-10-10 21:33:49 -0700 (Wed, 10 Oct 2007) | 2 lines

  The release script no longer runs initdb.py, because the default database is no longer a single file included in the tarball.
................
  r438 | witten | 2007-10-10 21:40:11 -0700 (Wed, 10 Oct 2007) | 2 lines

  Updated install instructuctions to include use of initdb.py.
................
  r439 | witten | 2007-10-10 21:56:42 -0700 (Wed, 10 Oct 2007) | 3 lines

  Made initdb.py only nuke (drop tables/views) when given a command-line flag.
  Also made install directions more correct.
................
  r440 | witten | 2007-10-10 21:58:48 -0700 (Wed, 10 Oct 2007) | 2 lines

  IE 6 doesn't like commas.
................
  r441 | witten | 2007-10-10 22:08:50 -0700 (Wed, 10 Oct 2007) | 4 lines

  load your notebook. without clicking on "changes", edit a note that has previous revisions. click on "changes". it'll only show
  the most recent revision. fixed by not appending to changes as a result of a save unless the client-side revisions list cache has
  something in it
................
  r442 | witten | 2007-10-10 23:30:41 -0700 (Wed, 10 Oct 2007) | 2 lines

  Forgot to actually save off the new revision as editor.revision.
................
  r443 | witten | 2007-10-11 01:35:54 -0700 (Thu, 11 Oct 2007) | 13 lines

  More intelligent datetime handling:
    * convertdb.py assumes old bsddb database timestamps are Pacific, and then
      converts them to UTC before inserting them into the new PostgreSQL
      database.
    * No longer using naked timezoneless datetime objects in model/controller
      code, except in unit tests that need compatability with pysqlite. Now
      using UTC everwhere.
    * Asking PostgreSQL to give us all timestamps back in UTC.
    * New dependency on python-tz (pytz) package, noted in INSTALL doc.
    * Client now responsible for converting UTC timestamps to local time for
      display.
................
  r444 | witten | 2007-10-11 01:46:09 -0700 (Thu, 11 Oct 2007) | 2 lines

  Tweak to prevent potential race in IE.
................
  r445 | witten | 2007-10-11 01:49:58 -0700 (Thu, 11 Oct 2007) | 2 lines

  Got JavaScript "unit" tests passing again.
................
  r446 | witten | 2007-10-11 01:53:58 -0700 (Thu, 11 Oct 2007) | 2 lines

  Noting that js tests require the Luminotes server on localhost.
................
2007-10-11 09:03:43 +00:00
Dan Helfman 03bffe4676 Missing target attribute. 2007-10-10 03:09:07 +00:00
Dan Helfman 54dee52dc7 Reordering some columns and adding some indices. 2007-10-05 07:50:51 +00:00
Dan Helfman 846abfcd40 Yay, no more stupid deprecation warnings from simplejson about the sre module. 2007-10-04 08:14:45 +00:00
Dan Helfman bcbfabe011 Initialized merge tracking via "svnmerge" with revisions "1-400" from
svn+ssh://torsion.org/home/luminotes/repos/luminotes/branches/postgres
2007-10-04 07:47:35 +00:00
Dan Helfman 43e8c7fb17 Fixed some bugs in convertdb.py.
Wrote a tool to verify that convertdb.py does what it's supposed to.
Added a todo comment to Scheduler about threading and generators.
Updated INSTALL documentation about eventual Postgres requirement.
2007-10-02 22:43:18 +00:00
Dan Helfman d3e953f8da More comments / minor changes. 2007-10-02 18:25:55 +00:00
Dan Helfman 0b7a84127f Minor fixes and comments. 2007-10-02 18:21:48 +00:00
Dan Helfman 95d095435a Finished off first pass of bsddb to postgres conversion script, which now fills out note rows completely. 2007-10-02 09:08:45 +00:00
Dan Helfman 937f4bd0eb Very seriously considering switching from bsddb to PostgreSQL. If that
happens, I'd use this schema and this conversion script (incomplete).
2007-10-02 01:11:35 +00:00
Dan Helfman 76e036eab6 Made a demo that you can get to without signing up or entering any information. 2007-09-28 23:54:19 +00:00
Dan Helfman ca60ffd1b3 Whoops, forgot to remove titles_only search flag from unit tests. 2007-09-28 22:59:44 +00:00
Dan Helfman 31750d0040 Removed the word "used" from quota report in the client. 2007-09-28 20:42:27 +00:00
Dan Helfman 5d860300f1 Removed search options button because:
1. It's confusing. People think you click it to perform the search, then are surprised when it doesn't do that.
  2. Now that the search results are displayed more clearly, there's really no need for a titles-only search option.
2007-09-28 20:31:20 +00:00
Dan Helfman e50d8d909e Fixing broken unit test. 2007-09-28 20:20:55 +00:00
Dan Helfman 0bc354b692 Slight update to welcome text. 2007-09-28 19:45:54 +00:00
Dan Helfman 776765031d "New note" toolbar button now correctly presses and depresses. 2007-09-28 19:40:00 +00:00
Dan Helfman 092614911b Pressing a button now no longer makes the toolbar shift by a few pixels to the side. 2007-09-28 19:19:57 +00:00
Dan Helfman 781683cc6f Toolbar buttons are now more clearer, e.g. list buttons look like little lists. 2007-09-28 05:07:14 +00:00
Dan Helfman 9673d84c3f "Please check your inbox" message is now an orange message box instead of a red error box. 2007-09-27 22:40:18 +00:00
Dan Helfman c343db12e2 Yet more fucking lame-o CSS changes. 2007-09-27 22:11:16 +00:00
Dan Helfman 6404e95183 Sigh. I hate the web. 2007-09-27 06:44:29 +00:00
Dan Helfman 091e7a34dd Change to IE 7 CSS to make "loading" status indicator go in the upper left. 2007-09-27 06:19:25 +00:00
Dan Helfman 5cf7dd3b14 Splitting off IE 6 and 7 CSS into separate, conditionally included files. 2007-09-27 06:16:53 +00:00
Dan Helfman 1ded442791 In IE, now resizing on iframe init with onresize instead of a somewhat arbitrary setTimeout() delay.
This prevents the resize from breaking and only showing part of the iframe contents.
2007-09-27 05:45:43 +00:00
Dan Helfman 8b911179f8 Changed the layout of the password reset redeem form from a table to a more tradtional form layout. 2007-09-27 04:10:57 +00:00
Dan Helfman 0052858fdc Set email util. 2007-09-27 02:33:24 +00:00
Dan Helfman c23b4b324c support@ instead of questions@luminotes.com 2007-09-27 00:28:19 +00:00
Dan Helfman cb66bc6da3 Fewer small fonts, and sans-serif instead of times. 2007-09-27 00:26:51 +00:00
Dan Helfman 9e6ad24351 Removing fancy "take a tour" / "try it out" image buttons in favor of text links, because the images clashed with the rest of the page. 2007-09-27 00:09:25 +00:00
Dan Helfman f6da052e88 Self-service password reset functionality, plus full unit tests.
GOD DAMN that was annoying to implement.
2007-09-26 23:49:27 +00:00
Dan Helfman 4a39a798cd Rewrote the "about" note, because I didn't like the previous one. 2007-09-24 21:32:11 +00:00
Dan Helfman 90aa4d1903 Preloading hover images for great responsiveness. 2007-09-24 21:05:41 +00:00
Dan Helfman 3be8f891b4 Fancy new image buttons for "take a tour" and "try it out".
Also updated initdb.py to handle links containing more than just text.
2007-09-24 20:50:01 +00:00
Dan Helfman 13c63fd400 Made CSS layout much better for scaling to small and large resolutions.
Toolbar and link area now both stay somewhat near the center area.
IE max-width hack rewritten to work better.
2007-09-23 20:42:44 +00:00
Dan Helfman 0c9c2b6ac2 Wrote basic tool for setting a user's rate plan. 2007-09-22 17:19:13 +00:00
Dan Helfman 22b8c70f9e New utility to show whether a user is present (by username). 2007-09-22 02:50:12 +00:00
Dan Helfman f495f44a96 Made a tour images and linked to it from various places.
Also removed references to "take a tour" note, since it no longer exists.
2007-09-21 23:10:08 +00:00