witten
/
luminotes
Archived
1
0
Fork 0
Commit Graph

95 Commits

Author SHA1 Message Date
Dan Helfman c0d512920e Setting permissions on log files to 600 for privacy reasons. Also naming log files to include username on Linux. 2008-08-26 14:58:04 -07:00
Dan Helfman 978ce6a360 Excluding certain images files. 2008-08-25 20:21:54 -07:00
Dan Helfman b42d85d6ff Luminotes version now defined in a config file and shows up in the Desktop UI. 2008-08-25 19:45:20 -07:00
Dan Helfman 5badd47fd7 Logging to a temp directory instead of the current directory. This allows non-admin/non-root users to run Luminotes Desktop. 2008-08-25 16:57:33 -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 2c5ba50863 Now logging properly to a file with config/Desktop.py, and removing the log file on Windows during uninstall. 2008-08-23 16:45:34 -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 60aa794adc No longer disabling session filter on static files for desktop config. 2008-08-21 13:44:51 -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 7d8240f7be Added new notebook_sharing rate plan config option to control whether the user can share notebooks at all. 2008-08-20 17:05:21 -07:00
Dan Helfman 52e67c9ab5 Fixing broken uploads in desktop configuration. They needed more than one thread to upload and poll progress simultaneously. 2008-08-20 16:05:43 -07:00
Dan Helfman 293a2eedab config/Desktop.py now overrides the rate plans with its own plan that includes no storage quota. 2008-08-18 18:01:50 -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 d21bd38e87 Reducing the number of included users in the higher rate plans, so each user gets more of the common pool of included storage space. 2008-06-05 15:50:45 -07:00
Dan Helfman a8682a74bd Changed "max" plan to "premium" since a certain wife thought "max" sounds dumb, and I think in this case she's right. 2008-06-02 21:16:26 -07:00
Dan Helfman a5eecc85ce Removing some duplicate config entries. 2008-05-28 16:29:57 -07:00
Dan Helfman c6443d49b6 Added new pricing plans and updated pricing page accordingly. 2008-05-28 16:06:57 -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 2a542999c5 * In development mode, disable session filter for static files. This may
prevent some session deadlock errors.
 * Fixed some bugs with the new auto-resizing toolbar:
   * In IE 6/7, when you click on a formatting button such as italics, it
     doesn't visibly depress, because update_toolbar() is causing it to
     unpress until you start typing the italic text. Fixed by only calling
     update_toolbar() in focused_editor() if focused_editor is null.
   * When downing or upping a toolbar button, now calling
     resize_toolbar_button() unconditionally.
2008-05-13 04:02:31 +00:00
Dan Helfman 269c28983d Support for yearly subscriptions. 2008-05-08 18:39:46 +00:00
Dan Helfman 8262281483 Adding a Debian init script for the Luminotes server. 2008-03-11 19:58:53 +00:00
Dan Helfman 9743859b41 Now correctly allowing large file uploads. 2008-02-24 00:31:07 +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 1398e89f96 Wrote initial unit tests for new Files controller. A few more still needed. 2008-02-06 01:34:12 +00:00
Dan Helfman 1bb6b4fcb0 When moving upload_file() from Notebooks to Files, forgot to change streaming
configuration accordingly to reflect the new URL.
2008-02-01 22:39:22 +00:00
Dan Helfman 0cf2b5bda7 Initial work on UI and controller for file uploading:
* new toolbar button for attaching a file
 * button opens new Upload_pulldown() for uploading a file
 * began controller.Notebooks.upload_file() to process the upload
2008-01-31 21:52:32 +00:00
Dan Helfman 3d039cd14c Whoops.. Didn't mean to checkin modified Common.py config file. Reverting. 2008-01-22 20:31:36 +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 f2c8c9c818 New payment email field, used for verifying paypal notifications. 2008-01-11 01:33:52 +00:00
Dan Helfman 7d2e2e4de2 Added a paypal unsubscribe button. Also added a paypal banner image. 2008-01-10 23:15:37 +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 f00809955c * Users.signup(), Users.login(), and Root.default() now support optional invite_id parameter.
* Modified Wiki.js to include invite_id parameter when necessary.
 * Increased storage quota (and price) for premium rate plan.
 * Added a note displayed when redeeming an invite, with links to signup and login.
2007-12-27 22:16:47 +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 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 f7de4c9e94 Now emailing tracebacks to support email address. 2007-10-31 23:33:09 +00:00
Dan Helfman 4d736d4821 Lots of work on user storage quotas:
* Each model.User now has a current storage bytes and a rate plan.
 * model.User.to_dict() updated accordingly.
 * Minor Scheduler.add() change to bail of the given thread is None.
 * controller.Users.current() returns current user's rate plan details.
 * controller.Users.update_storage() now takes an optional callback.
 * Various methods in controller.Notebooks responsible for calling controller.Users.update_storage().
 * Added rate plan details to config/Common.py.
 * Added quota utilization colors to style.css.
 * Implemented quota utilization calculation and display in Wiki.js.

Still to-do: Return updated storage bytes where appropriate in controller.Notebook and update the
client accordingly.
2007-09-20 20:36:19 +00:00
Dan Helfman 824882a1d8 Factored out hardcoded support email address from various places.
Now it's configurable in the common settings.
2007-08-20 20:28:17 +00:00
Dan Helfman ccb81d18ee Checking the start of the requested URL to determine whether it was an https
request simply didn't work. Apache doesn't forward that information. So
instead, I'm now using a hacky work-around that looks at the proxy IP to
determine whether it was an http or https request.

Still need to fix unit tests for this.
2007-08-03 19:29:20 +00:00
Dan Helfman 0ac518e395 * controller.Users.current() now returns an http_url if one is configured in config/Common.py
* changed controller.Users and controller.Root constructor arguments to support this.
 * Updated INSTALL document accordingly.
 * Client now will prepend this new http_url variable to the logout link.
2007-08-02 18:52:20 +00:00
Dan Helfman b58f5cb1a1 * tools/updatedb.py now takes an optional navigation note id parameter, so the titleless navigation note can be updated.
* both tools/initdb.py and tools/updatedb.py set link ids appropriately, rather than just leaving them all as "new"
 * both tools/initdb.py and tools/updatedb.py set certain links to use https if configured as such in config/Common.py
 * tools/initdb.py no longer creates a default "witten" user
 * Added target="_top" to links that should replace the top-level window, and updated client code to ignore links with targets.
 * Removed form_base_url from Editor.js, as https URL is now tacked on by initdb.py/updatedb.py instead.
2007-08-02 04:01:11 +00:00
Dan Helfman 3d3c4a6ad4 Moving default port to 8081 so as not to conflict with Coderific. 2007-08-01 20:24:46 +00:00
Dan Helfman 55b8ac6446 Fix for nasty session timeout in which you'd get spontaneously logged out for
no apparent reason. The fix is to enable cherrypy's implicit session file
locking, which, interestingly enough, isn't enabled implicitly.
2007-07-25 20:04:24 +00:00
Dan Helfman 64bf5e34a1 Renamed placeholder title "Limited Medium" to "Luminotes". 2007-07-16 21:03:39 +00:00
Dan Helfman 02cfca5322 Renaming repository to new name: luminotes 2007-07-16 20:22:38 +00:00