Archived
1
0
Commit Graph

76 Commits

Author SHA1 Message Date
4e21547da6 Added a toolbar color button for setting text and background colors. Still needs more testing/fixing in IE and WebKit. 2009-05-14 16:20:43 -07:00
Dan Helfman
f46e2a8fec Refactored toolbar code and images. Now buttons come from a single composite / sprited image.
Remaining things to complete:
  * In WebKit, the button images are offset +5 pixels down. They shouldn't be.
  * Small "+" buttons under notebooks and the note tree are broken.
  * Toolbar resizing doesn't work anymore (TODO comment).
2009-03-29 12:23:55 -07:00
Dan Helfman
ab303ea0ac Fixed a bug in which faq/community/etc pages had way too much whitespace. 2009-03-20 17:25:30 -07:00
Dan Helfman
7512ba1159 Added example Apache and nginx config scripts and updated INSTALL doc accordingly. 2009-03-18 15:43:21 -07:00
Dan Helfman
503625bdea Fixed a bug in tools/luminotes_debian_initscript that prevented the "stop" command from working properly. 2009-03-17 14:08:55 -07:00
Dan Helfman
81411e3361 Removing blog tag since it's not used. 2008-11-18 15:20:23 -08:00
Dan Helfman
ca69dfb2d5 Fixing incorrect ordering of converted threads. 2008-11-17 23:15:40 -08:00
Dan Helfman
76073a93dd Script to convert each individual blog note into a blog forum thread. 2008-11-17 13:33:59 -08:00
Dan Helfman
aa4d3585bd Rearranged many of the navigation links and expanded the product page footer. 2008-11-15 13:15:51 -08:00
Dan Helfman
233a95c31d Based tool to convert file-based sessions to database-backed sessions. 2008-11-05 14:37:53 -08:00
Dan Helfman
f1941899df Missing commit() before using schema upgrader caused rollback() to rollback too much. 2008-10-28 13:15:27 -07:00
Dan Helfman
272240ba41 tools/initdb.py now sets the database schema_version. 2008-10-27 14:01:08 -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
cfb6a04817 Added a tool to create a download access record and make a download link from it. 2008-09-11 21:02:12 -07:00
Dan Helfman
c2f4e433e0 Adding messing parameter to Users() constructor. 2008-09-11 18:12:10 -07:00
Dan Helfman
6bd2dd510f Lots of product page work for Luminotes Desktop. 2008-08-28 21:19:55 -07:00
Dan Helfman
98a87a6bfa Running luminotes.exe from batch file with start so console window closes. 2008-08-27 13:13:36 -07:00
Dan Helfman
95848b752d Added USB drive support. 2008-08-27 13:02:11 -07:00
Dan Helfman
ebee4e5135 luminotes.db now goes in a user-specific directory. 2008-08-25 17:43:09 -07:00
Dan Helfman
ba4340f55f Fixed a bug in tools/initdb.py and tools/updatedb.py that caused them to only use some of the configured settings. 2008-08-22 13:52:41 -07:00
Dan Helfman
81fabe98c0 In desktop mode, most header links are now undisplayed. Also, no longer creating default notes in initdb.py for desktop version. 2008-08-20 20:50:41 -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
58cf113f71 Fixing broken parameter parsing. Should really generalize this and maybe do real parsing. 2008-08-18 18:05:20 -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
8b52ffabfa Updated tools/set_plan.py to automatically update a user's group
membership.
2008-06-09 20:14:42 -07:00
806c1ddb20 Fixed bug where rate plan index was set as a string instead of an integer, which caused the rate plan to get into the memcache as a string, which later caused array index lookup problems. 2008-05-29 16:45:13 -07:00
602045c112 New tool for updating a user's rate plan: tools/set_plan.py 2008-05-29 13:48:33 -07: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
b9d92d4080 Instructions for enabling JavaScript, linked from various forms that
require it.
2008-05-05 07:08:09 +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
272dd3e157 Converted dump_emails.sh to dump_emails.py so that it can run on a separate server from the database. 2008-04-07 04:47:07 +00:00
Dan Helfman
5d97c2b194 Fixed minor bug in initdb that caused initial anonymous user creation with
owner permission to main notebook.

Fixed variable shadowing bug when picking out notebook to use in header "my
wiki" link.
2008-04-04 07:54:17 +00:00
Dan Helfman
adca110c90 Fixed to also set rank for anonymous user. 2008-03-17 23:15:18 +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
8262281483 Adding a Debian init script for the Luminotes server. 2008-03-11 19:58:53 +00:00
Dan Helfman
364e412420 Removing old tour page. 2008-03-07 02:26:30 +00:00
Dan Helfman
8bb947a26b Removing references to old about/features/navigation pages. 2008-03-01 00:36:55 +00:00
Dan Helfman
a78c783ce1 Beefed up the tour. 2008-01-18 01:39:22 +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
5554b1df17 * Started a static upgrade HTML file with rate plans.
* Fixed Invite.sql_update() to have SQL params in proper order.
 * Fixed bug where email addresses containing "-" were considered invalid.
 * Made UI for inviting other people to your notebook.
 * Tweaked the rate plans and added a new one.
2007-12-11 01:15:03 +00:00
Dan Helfman
4ca87af17c Updating tools with new download note. 2007-11-01 05:15:33 +00:00
Dan Helfman
55e6e38ad5 Updating faq to mention Postgres and Postfix, and not mention bsddb.
Also making tools/updatedb only update notes with changed contents.
2007-10-26 23:35:25 +00:00
Dan Helfman
92935745fc Handy-dandy one-liner for dumping all current user email addresses to stdout, one per line. 2007-10-11 20:27:14 +00:00
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
a11ba8661b Fix for duplicate pkey error. 2007-10-11 10:51:20 +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
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