Commit Graph

  • 6e41c71c49 Adding the hidden next field to the login page so we actually do redirect Christopher Allan Webber 2011-04-23 12:56:32 -05:00
  • f6f524bf59 submit_start written in a way that, by golly, you'd think maybe it'd work Christopher Allan Webber 2011-04-23 12:56:01 -05:00
  • 574d1511d6 Probably better to request.POST.get? Christopher Allan Webber 2011-04-23 12:54:11 -05:00
  • e745ce10c9 we should check for request.user['status'] not request.user['session'], clearly. Christopher Allan Webber 2011-04-23 11:30:20 -05:00
  • 74ae6b112a making state for MediaEntry objects, also adding attributes: - media_files - attachment_files - queue_files - thumbnail_file Christopher Allan Webber 2011-04-23 10:51:55 -05:00
  • 7bf3f5db0f Adding a space for custom validators, though we haven't used it yet :) Christopher Allan Webber 2011-04-23 09:03:25 -05:00
  • 4d75522b91 Give User a status, also add uploader user field to MediaEntry Christopher Allan Webber 2011-04-23 08:52:23 -05:00
  • 7eba0306d8 Provide a next= url when we require logging in Christopher Allan Webber 2011-04-23 08:46:02 -05:00
  • efb291d633 Fixes CC0 language Will Kahn-Greene 2011-04-22 22:08:49 -04:00
  • 6a338d8e0e Updates contributing howto Will Kahn-Greene 2011-04-22 22:02:55 -04:00
  • fad67707e1 License/copyright changes Will Kahn-Greene 2011-04-19 22:42:08 -04:00
  • ddff7cce3e util.setup_user_in_request must be called last Christopher Allan Webber 2011-04-19 19:16:56 -05:00
  • 6648c52ba8 Use request.app.db, not request.db Christopher Allan Webber 2011-04-19 19:11:38 -05:00
  • 9ec5910861 Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin Christopher Allan Webber 2011-04-19 19:05:58 -05:00
  • e323a06851 Start of the submit view, but not much there quite yet. Christopher Allan Webber 2011-04-19 19:05:46 -05:00
  • bb3eaf20ea New requires_active_login decorator! Christopher Allan Webber 2011-04-19 19:04:22 -05:00
  • c66d0f5c66 Hackinghowto tweaks Will Kahn-Greene 2011-04-19 12:37:20 -04:00
  • 54e219fed1 Makes most sense for [server:main] to be at bottom Christopher Allan Webber 2011-04-17 16:45:36 -05:00
  • 0dd6594596 Move the request.app stuff to the same area Christopher Allan Webber 2011-04-17 16:36:01 -05:00
  • 582c4d5fb2 Add the staticdirector stuff to the mediagoblin wsgi app. Christopher Allan Webber 2011-04-17 16:30:51 -05:00
  • dae6add99e How to run the server Christopher Allan Webber 2011-04-17 14:05:56 -05:00
  • 719f82bad3 Updated hackinghowto.rst with info on how to use the new buildout stuff. Christopher Allan Webber 2011-04-17 14:04:07 -05:00
  • df0953ce45 Buildout script which creates user_dev directory and necessary subdirectories for the user. Christopher Allan Webber 2011-04-17 13:44:10 -05:00
  • 49461402d1 Merge branch 'master' into buildout Christopher Allan Webber 2011-04-17 12:45:38 -05:00
  • 3a69a5dcd6 Base MediaGoblin paste deploy config file. Christopher Allan Webber 2011-04-17 12:44:39 -05:00
  • af37cf47b0 Buildout'ifying things. - added buildout's bootstrap.py - added buildout.cfg - adjustments to .gitignore. Christopher Allan Webber 2011-04-17 12:42:48 -05:00
  • 5afdd7a1de Actually set up the storage systems Christopher Allan Webber 2011-04-17 10:36:46 -05:00
  • d807b7252d Reorganization of storage.py. Christopher Allan Webber 2011-04-17 10:26:52 -05:00
  • ffa2293549 storage.storage_system_from_paste_config() utility, w/ tests Christopher Allan Webber 2011-04-17 10:24:36 -05:00
  • cb8ea0fe3f Moved app.load_controller -> util.import_component and added tests. Christopher Allan Webber 2011-04-17 09:43:03 -05:00
  • 904f61c298 documentation for get_jinja_env Christopher Allan Webber 2011-04-17 09:30:10 -05:00
  • 5afb92275c Encourage storage systems to passively accept extraneous keyword arguments w/ **kwargs. Christopher Allan Webber 2011-04-17 09:18:12 -05:00
  • 01da9e6a0e Test for BasicFileStorage.file_url() Christopher Allan Webber 2011-04-16 12:47:15 -05:00
  • f61a41b89d Import urlparse! Duh. I should remember to turn flymake-mode on. Christopher Allan Webber 2011-04-16 12:46:58 -05:00
  • d024806a0b Tests for BasicFileStorage.delete_file() Christopher Allan Webber 2011-04-16 11:03:32 -05:00
  • d2be0838a7 Tests for BasicFileStorage.get_file() Christopher Allan Webber 2011-04-16 11:00:53 -05:00
  • d0e3a5341e "if not os.path.exists(directory)", not "if not os.path.exists('directory')" Christopher Allan Webber 2011-04-16 10:59:23 -05:00
  • b0bfb766d9 when running get_unique_filepath, clean_listy_filepath from the get-go Christopher Allan Webber 2011-04-16 10:27:03 -05:00
  • b1bb050b27 Added delete_file, url_for_file methods to BasicFileStorage Christopher Allan Webber 2011-04-16 09:36:36 -05:00
  • 3c1a9d753c Ignore the docs/_build directory. Christopher Allan Webber 2011-04-15 08:15:13 -05:00
  • 5a40e1ec5c Overhauls TOC of manual Will Kahn-Greene 2011-04-14 22:28:02 -04:00
  • 76c9ea6b5f Adds license/copyright headers to jinja2 templates. Will Kahn-Greene 2011-04-13 10:21:06 -04:00
  • 908dee6b15 Clarifies licensing for the project. Will Kahn-Greene 2011-04-13 10:13:35 -04:00
  • 8e1e744d27 Changes Mediagoblin -> MediaGoblin. Will Kahn-Greene 2011-04-13 10:04:30 -04:00
  • 56d507b60b Adds documentation. Will Kahn-Greene 2011-04-12 22:36:19 -04:00
  • 5698a579b2 Adds license/copyright header. Will Kahn-Greene 2011-04-12 22:35:48 -04:00
  • 00fdc7bdee Fixes docs. Will Kahn-Greene 2011-04-12 19:56:04 -04:00
  • 3c013c5b79 Adding a file for testing of CIA bot Matt Lee 2011-04-11 15:18:41 -04:00
  • a130260873 Started the workflow document. Currently just mockups. Soon: more techy info. Christopher Allan Webber 2011-04-11 08:39:23 -05:00
  • cee7a1c163 get_file() implementation for BasicFileStorage Christopher Allan Webber 2011-04-10 17:03:23 -05:00
  • 20e3ee115d Test BasicFileStorage.get_unique_filepath() Christopher Allan Webber 2011-04-10 16:51:25 -05:00
  • 2fdec8270d We should import uuid, because we use it! Christopher Allan Webber 2011-04-10 16:50:52 -05:00
  • 2d1a60739e get_unique_filepath not get_unique_filename! Christopher Allan Webber 2011-04-10 16:44:47 -05:00
  • 92fb87ae8d Unit tests for BasicFileStorage.file_exists() Christopher Allan Webber 2011-04-10 16:23:55 -05:00
  • 17e7093e4b Started BasicFileStorage tests. test_basic_storage__resolve_filepath() done. Christopher Allan Webber 2011-04-10 15:50:32 -05:00
  • e579cf544d Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin Christopher Allan Webber 2011-04-10 15:04:21 -05:00
  • 644614d4dd Added the url_for_file stub to the interface Christopher Allan Webber 2011-04-10 15:01:00 -05:00
  • 1118858140 I don't think we need _create_dirs_for_filepath. Christopher Allan Webber 2011-04-10 14:57:23 -05:00
  • 779f2b9411 Put down structure of BasicFileStorage, and the ._resolve_filepath() method Christopher Allan Webber 2011-04-10 13:38:01 -05:00
  • 8736b05d05 Fleshes out documentation. Will Kahn-Greene 2011-04-09 18:43:26 -04:00
  • b0de01cf01 More documentation on all the core storage API methods Christopher Allan Webber 2011-04-09 14:26:41 -05:00
  • ef10e3a2c7 u'string', but of course ;) Christopher Allan Webber 2011-04-09 14:08:07 -05:00
  • 0b9cf289c3 Actually, we can implement get_unique_filename, which should be the same across all storage API implementations Christopher Allan Webber 2011-04-09 14:05:44 -05:00
  • 797be93ca6 Most of the StorageInterface stubs in place and documented. Christopher Allan Webber 2011-04-09 14:02:54 -05:00
  • 770c12be8d Raise a specific error if a filename component can't be resolved into anything. Christopher Allan Webber 2011-04-09 11:45:38 -05:00
  • a6b378ef4d file storage filelist cleaning Christopher Allan Webber 2011-04-09 11:41:09 -05:00
  • 9578fe5047 Include werkzeug. We'll need it for werkzeug.util.secure_filename at least. Christopher Allan Webber 2011-04-09 08:11:43 -05:00
  • f75a49b2f2 Adding staticdirect infrastructure from cc.engine Christopher Allan Webber 2011-04-09 08:08:23 -05:00
  • 3eae167e0f Adds Sphinx docs infrastructure. Will Kahn-Greene 2011-04-07 20:11:06 -04:00
  • 146ad23e9b Herp derp GPL notice blocks should even be on routing. Christopher Allan Webber 2011-04-03 18:58:23 -05:00
  • c74e1462fe Since we're searching by id, that try: except: was superfluous. Christopher Allan Webber 2011-04-03 18:56:48 -05:00
  • 59dd5c7e96 Functioning request.user, and a functioning greeting for users :) Christopher Allan Webber 2011-04-03 18:55:55 -05:00
  • a3fdcf5ce0 This should allow for request.user and show users logged in Christopher Allan Webber 2011-04-03 18:40:01 -05:00
  • 5d6840a010 We should always have a request.user object, even if None. Christopher Allan Webber 2011-04-03 18:35:52 -05:00
  • 58dec5efe5 Added setup_user_in_request Christopher Allan Webber 2011-04-03 18:34:05 -05:00
  • b058cf15f0 We should use one instead of find_one to really make sure there's only one such user in the database Christopher Allan Webber 2011-04-03 18:32:29 -05:00
  • d193896315 Also handle when there is no such user Christopher Allan Webber 2011-04-03 18:28:17 -05:00
  • b97232fa2f Working logout function Christopher Allan Webber 2011-04-03 18:23:40 -05:00
  • a37767172b Logins seem to work. Christopher Allan Webber 2011-04-03 17:05:30 -05:00
  • 4ad5af85e2 Added a check_login command to User Christopher Allan Webber 2011-04-03 16:38:13 -05:00
  • 14ba9383de Use beaker from middleware, it's official. Christopher Allan Webber 2011-04-03 16:37:36 -05:00
  • 51479a1d22 Clarified documentation on fake_login_attempt and restored bcrypt import Christopher Allan Webber 2011-04-03 16:37:15 -05:00
  • 692fd1c981 starting to write login code Christopher Allan Webber 2011-04-03 16:32:01 -05:00
  • c15c9843b4 Added a fake_login_attempt utility. Christopher Allan Webber 2011-04-03 15:31:16 -05:00
  • f5def6fe23 Use the passwordfield for password fields, obviously ;o Christopher Allan Webber 2011-04-03 15:02:06 -05:00
  • 73cb7b8efc Return an HTTPFound, not HTTPTemporaryRedirect Christopher Allan Webber 2011-04-03 14:58:51 -05:00
  • 2418182016 Registering almost works right :) Christopher Allan Webber 2011-04-03 13:35:18 -05:00
  • a0598d5cae Base mediagoblin template, and register templates Christopher Allan Webber 2011-04-03 13:35:01 -05:00
  • e0bc23d370 We should return a unicode object in bcrypt_gen_password_hash Christopher Allan Webber 2011-04-03 13:33:45 -05:00
  • 73a6e206e6 Put the User object officially in the 'users' document collection Christopher Allan Webber 2011-04-03 09:58:35 -05:00
  • db78002412 Also make sure the auth system successfully returns False when login failboats. Christopher Allan Webber 2011-04-02 12:42:07 -05:00
  • 62615b8133 Where did this o come from. Christopher Allan Webber 2011-04-02 11:20:36 -05:00
  • 80873214d6 Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin Christopher Allan Webber 2011-04-02 10:49:16 -05:00
  • 4b5f4e8791 Unit tests for our bcrypt auth stuff. Our first tests! Christopher Allan Webber 2011-04-02 10:48:34 -05:00
  • 6755f50e8e Basic authentication tools using py-bcrypt Christopher Allan Webber 2011-04-02 10:29:54 -05:00
  • f7294dd961 Added catalogue number Matt Lee 2011-03-28 10:28:10 -04:00
  • ebc4ab71a2 HTML export of the READMEish braindump. Christopher Allan Webber 2011-03-27 23:38:27 -05:00
  • 869704d650 A semi-verbose braindump of what I think GNU MediaGoblin will use / look like / be. Christopher Allan Webber 2011-03-27 23:25:50 -05:00
  • cf99711dcd Added copying and authors files Matt Lee 2011-03-27 18:48:15 -04:00
  • e5572c6077 Added copyright notices Matt Lee 2011-03-27 18:47:23 -04:00