Commit Graph

  • 852c7fdb8a Merge remote-tracking branch 'gitorious/master' Jef van Schendel 2011-06-07 15:39:19 +02:00
  • eb21f9a6cb Fixing check_filetype... Christopher Allan Webber 2011-06-07 00:36:24 -05:00
  • 9c50d0c698 Merge remote-tracking branch 'gitorious/master' Jef van Schendel 2011-06-06 21:26:58 +02:00
  • fe4ffb860f Added a comment to clarify that this shouldn't stay here. Christopher Allan Webber 2011-06-06 07:57:05 -05:00
  • 2190ecde8d Merge remote branch 'remotes/gandaro/324-bad-media-types' Christopher Allan Webber 2011-06-06 07:51:17 -05:00
  • ec8f66bd65 Merge remote-tracking branch 'gitorious/master' Jef van Schendel 2011-06-06 14:46:56 +02:00
  • 3aa4c668b9 A setup_fresh_app decorator which should make writing tests a bit easier. Setting test_register_views() to use it also. Christopher Allan Webber 2011-06-06 07:45:18 -05:00
  • 66471f0ee4 A clear_test_buckets() method Christopher Allan Webber 2011-06-06 07:44:12 -05:00
  • 2fecc29d06 Docstring for test_register_views() Christopher Allan Webber 2011-06-05 18:16:31 -05:00
  • 8a869db8e4 Make sure that two users with the same username can't register. Christopher Allan Webber 2011-06-05 18:14:48 -05:00
  • 7b1e17ed0d Email verification view test works Christopher Allan Webber 2011-06-05 17:49:43 -05:00
  • 1972a888b3 Make sure we can register, and then that we get the verification email Christopher Allan Webber 2011-06-05 17:39:47 -05:00
  • 23cc15c998 Use render_template utility so we can test whether or not this email sends Christopher Allan Webber 2011-06-05 17:35:20 -05:00
  • 2c3fd5c5bf Moved the verification url generation string template to a global variable Christopher Allan Webber 2011-06-05 17:31:18 -05:00
  • 8045fd4074 Make sure that get_test_app() really does wipe the database Christopher Allan Webber 2011-06-05 16:43:25 -05:00
  • 2262b2a9e1 Made a simple template rendering view and switched a bunch of code over to using it Christopher Allan Webber 2011-06-05 15:58:35 -05:00
  • 9038c9f9ac I have a strong preference for aligning all parameters in a function call. Christopher Allan Webber 2011-06-05 15:41:08 -05:00
  • a7fcc027aa Merge remote branch 'remotes/elrond/idea/shortcuts' Christopher Allan Webber 2011-06-05 15:36:51 -05:00
  • cb9bac0c83 Just a bit of formatting for these unfinished tests ;) Christopher Allan Webber 2011-06-05 15:33:48 -05:00
  • 7eac428526 Instructions for running tests with the modern setup Christopher Allan Webber 2011-06-05 15:33:28 -05:00
  • b8fbd81799 New password check error message Christopher Allan Webber 2011-06-05 15:33:07 -05:00
  • 651403f025 Test registration form integrity Christopher Allan Webber 2011-06-05 15:30:07 -05:00
  • 460ce56493 The first bit of the registration tests working. Not fully there, but it's clear that the webtest part is working, without having tested the database yet. :) Christopher Allan Webber 2011-06-05 10:34:29 -05:00
  • 0a791a94de Actually it's a lot better of an idea to load the full application out of the paste config file the way paste would than to load components of it ourselves. Christopher Allan Webber 2011-06-05 10:33:59 -05:00
  • 67e8c45d2a We should store the template path, not the template object, as the key in our testing cache Christopher Allan Webber 2011-06-05 10:31:29 -05:00
  • 9150244afa Create redirect shortcut and use it around Elrond 2011-06-05 15:49:08 +02:00
  • c9c2493435 Reformat render_to_response calls Elrond 2011-06-05 16:02:12 +02:00
  • 1c63ad5d35 Create render_to_reponse and use it everywhere. Elrond 2011-06-05 15:25:45 +02:00
  • 99619a625b Firefox 3.X shows hidden fields for some reason, adding display: none; to be rid of them for sure Christopher Allan Webber 2011-06-05 09:14:38 -05:00
  • b5d3aec615 Moving all views over to using util.render_template()! Christopher Allan Webber 2011-06-04 17:36:36 -05:00
  • f99f61c65c Cache template environments and gettexts so we don't have to reproduce them on every request. Christopher Allan Webber 2011-06-04 16:44:22 -05:00
  • e9279f2137 Added new render_template method which will make our lives nicer and also will be useful for unit testing purposes :) Christopher Allan Webber 2011-06-04 16:32:13 -05:00
  • c5678c1ab3 Proper webtest infrastructure... seems to be about right anyway :) Christopher Allan Webber 2011-06-04 13:20:48 -05:00
  • a1556d3f49 Mount media editing under /u/{username}/m/{media}/edit/ Christopher Allan Webber 2011-06-04 08:48:51 -05:00
  • 8ee83b4333 Let's redirect back to the media homepage using the slug instead of the id Christopher Allan Webber 2011-06-04 08:48:17 -05:00
  • 747623cc04 I shouldn't have removed the .save() entirely :) Christopher Allan Webber 2011-06-04 07:41:31 -05:00
  • f4b2bd93f2 Merge remote-tracking branch 'gitorious/master' Jef van Schendel 2011-06-04 02:22:09 +02:00
  • c042bc6e21 Title first and foremost... anything else looks weird to me. Christopher Allan Webber 2011-06-03 18:47:22 -05:00
  • 3f0679cd78 Merge branch 'media_edit' Christopher Allan Webber 2011-06-03 18:43:20 -05:00
  • d5e90fe4b4 Find out if such a slug exists via a query instead of via a .save() call Christopher Allan Webber 2011-06-03 18:43:08 -05:00
  • 55c74e1e4b Propagate Exceptions up in Celery-Eager-Mode Elrond 2011-06-03 23:54:33 +02:00
  • 2165d464a4 Merge remote-tracking branch 'gitorious/master' Jef van Schendel 2011-06-03 21:51:38 +02:00
  • 02d80437d1 Refactored the sending of verification emails. Aleksandar Micovic 2011-06-02 21:07:37 -04:00
  • 04cb99b223 attribute values should be quoted :) Christopher Allan Webber 2011-06-02 16:30:06 -05:00
  • f80cdc5868 No reason for 'verification_successful = bool' here. Christopher Allan Webber 2011-06-02 16:04:17 -05:00
  • 3e96545095 Added lines background to forms Jef van Schendel 2011-06-02 22:57:10 +02:00
  • 69dadf429d Right-aligned input buttons, added gradient Jef van Schendel 2011-06-02 22:44:34 +02:00
  • 6a6355a989 Merge remote-tracking branch 'gitorious/master' Jef van Schendel 2011-06-02 22:09:52 +02:00
  • 9bfe1d8e12 Add GNU headers to new *.py Elrond 2011-06-02 18:28:26 +02:00
  • 3eeadc922a add changes in mediagoblin/submit/views.py Jakob Kramer 2011-06-02 17:47:38 +02:00
  • 5603d4df8f should fix #324 Jakob Kramer 2011-06-02 17:35:20 +02:00
  • 0732236e9c Handle Exceptions from save(); Move may_edit_media Elrond 2011-06-02 17:43:54 +02:00
  • 8cd5d4f8c3 Prepare for moving /edit/ under /u/.../edit/ Elrond 2011-06-02 16:48:15 +02:00
  • b897fdf91b Change edit form to use divs instead of table Elrond 2011-06-02 16:39:47 +02:00
  • a77d952aa6 No need for a method for generating the verification key as a method on the class, can just do that in the view Christopher Allan Webber 2011-06-02 09:02:13 -05:00
  • e0f8487005 Elrond put that ObjectId thing in the db.util module and wants us to use that one ;) Christopher Allan Webber 2011-06-02 08:47:30 -05:00
  • 7fd6f623f1 Merge remote branch 'upstream/master' Elrond 2011-06-02 14:33:26 +02:00
  • c849e69092 Check for edit permission. Elrond 2011-06-02 14:25:31 +02:00
  • 4d4b49a84e 0.0.2 of GNU MediaGoblin! Christopher Allan Webber 2011-05-31 19:54:26 -05:00
  • 155f24f9f5 If a user doesn't provide a userid and a token to the verify_email function, might as well 404 Christopher Allan Webber 2011-05-31 19:37:28 -05:00
  • 73a1bc85f1 Moving import to outside of this function Christopher Allan Webber 2011-05-31 19:31:23 -05:00
  • a72c504b25 Just adjusting some spacing so we don't go over 80 chars Christopher Allan Webber 2011-05-31 19:30:05 -05:00
  • 5866d1a8fb Give a "proper" view for resending verification email Christopher Allan Webber 2011-05-31 19:29:36 -05:00
  • d9951a6e03 Merge remote branch 'remotes/aleks/aleks' Christopher Allan Webber 2011-05-31 19:17:28 -05:00
  • b93a6a229e Added the ability to regenerate a verification key. Aleksandar Micovic 2011-05-31 17:14:23 -04:00
  • bcec749b52 Fixed bug where someone who wasn't logged in was asked to verify their emails. Aleksandar Micovic 2011-05-31 15:26:00 -04:00
  • 54f9d72356 Merge remote-tracking branch 'gitorious/master' Jef van Schendel 2011-05-31 14:32:46 +02:00
  • 28afb47ca8 Added a temporary verification page informing the user they need to authenticate. Aleksandar Micovic 2011-05-30 23:51:30 -04:00
  • b1ae76aea0 Add an index on MediaEntries making sure slugs + uploader combos are unique Christopher Allan Webber 2011-05-30 18:06:12 -05:00
  • 0d5094cb3b Improved object_gallery.html spacing Jef van Schendel 2011-05-31 00:45:42 +02:00
  • 8bfc87e18e Use the object gallery file on the front page also Christopher Allan Webber 2011-05-29 17:49:03 -05:00
  • 660e604824 This <ul /> not used (second inside), removing Christopher Allan Webber 2011-05-29 17:43:18 -05:00
  • db5912e358 remove all 'username_repr' stuff Jakob Kramer 2011-05-29 19:49:25 +02:00
  • ff6b9f7279 don't import 're' Jakob Kramer 2011-05-29 19:17:44 +02:00
  • ce72a1bb15 this should fix #354 Jakob Kramer 2011-05-29 19:15:46 +02:00
  • dfd18edadc First changes to media gallery view Jef van Schendel 2011-05-29 02:02:26 +02:00
  • d3060210bc Slightly modified text on media page Jef van Schendel 2011-05-29 01:53:41 +02:00
  • 37a0074826 Centered image on media page Jef van Schendel 2011-05-29 01:47:12 +02:00
  • 722d6a9705 Modified logo to change on :hover Jef van Schendel 2011-05-29 01:43:12 +02:00
  • f0e621c8f5 Changed submit form to divs Jef van Schendel 2011-05-29 01:14:48 +02:00
  • df901af738 Changed <p> font from 'sans' to 'sans-serif' Joar Wandborg 2011-05-28 23:56:29 +02:00
  • 00cc5cb745 Changed <body> font from 'sans' to 'sans-serif' Joar Wandborg 2011-05-28 23:54:15 +02:00
  • a78c8af8a6 Merge branch 'master' of git://gitorious.org/~schendje/mediagoblin/schendjes-mediagoblin Joar Wandborg 2011-05-28 23:52:00 +02:00
  • 491dd3ff47 *GNU* MediaGoblin on <title> Joar Wandborg 2011-05-28 23:19:44 +02:00
  • b5cc7afea2 Fixed submit button style, added create-account notice to log in page Jef van Schendel 2011-05-28 21:32:12 +02:00
  • 7c2005b6e2 Forgot a bottom-margin for the error div Jef van Schendel 2011-05-28 21:15:15 +02:00
  • b0ff25c82c Changed login forms to use divs instead of tables Jef van Schendel 2011-05-28 21:10:54 +02:00
  • 716a0ac3f1 Styled error messages Jef van Schendel 2011-05-28 21:02:34 +02:00
  • 9ef7c0f737 Fixed form header Jef van Schendel 2011-05-28 20:43:57 +02:00
  • 491b9109f3 Styled forms Jef van Schendel 2011-05-28 18:32:43 +02:00
  • ead3ebd6b7 Merge remote-tracking branch 'gitorious/master' Jef van Schendel 2011-05-28 17:44:15 +02:00
  • 8566cdda71 Added a new form rendering system, render_divs, and using it for registration Christopher Allan Webber 2011-05-28 09:54:09 -05:00
  • 98857207cc "edit": Finally implement saving. Elrond 2011-05-27 00:17:30 +02:00
  • 8782001bf0 Use new button style Elrond 2011-05-26 23:17:41 +02:00
  • aba81c9f20 Starting "edit" functionality. Elrond 2011-05-26 23:09:33 +02:00
  • c7da9c973f Merge remote-tracking branch 'gitorious/master' Jef van Schendel 2011-05-26 19:27:58 +02:00
  • e698dedad5 *GNU* MediaGoblin home ;) Christopher Allan Webber 2011-05-26 10:14:46 -05:00
  • 04d7c55fc6 Changed logout/account text Jef van Schendel 2011-05-26 01:24:13 +02:00
  • 3f139dd259 Changed header size Jef van Schendel 2011-05-26 00:45:17 +02:00
  • 4fdd102175 We now have only one button style Jef van Schendel 2011-05-26 00:41:13 +02:00