1667 Commits

Author SHA1 Message Date
Jef van Schendel
9c6d8d77fb Only apply textarea style to comment box 2011-12-09 22:45:26 +01:00
Jef van Schendel
75a12d632d Lots of changes to media page; rearranged things, added new styles, added jquery bits, gave the comment section a refresh 2011-12-09 22:37:20 +01:00
Jef van Schendel
3f45d9fbe8 Move author text, "By X", to the sidebar 2011-12-07 22:15:48 +01:00
Joar Wandborg
4535f7597f Bug 681 - Comments from reviewing the new video merge
in mediagoblin.media_types and submodules

- Moved VideoThumbnailer.errors initialization to VideoThumbnailer.__init__
- Cleaned up the image.processing imports
- Removed default ``None`` from get_media_manager(_media_type)

in mediagoblin.views
- Removed media_types import
- Removed sys import, and passing of sys to root.html template
2011-12-06 23:05:47 +01:00
Elrond
ddc1cae9ea Dot-Notation for MediaEntry.media_data 2011-12-05 21:08:58 +01:00
Elrond
f4ee839939 Dot-Notation for MediaEntry.media_type 2011-12-05 21:08:58 +01:00
Elrond
1d93996604 Dot-Notation for MediaEntry.description(_html) 2011-12-05 21:08:58 +01:00
Elrond
5da0bf901b Dot-Notation for MediaEntry.slug 2011-12-05 21:08:58 +01:00
Elrond
ec82fbd85c Dot-Notation for MediaEntry.title 2011-12-05 21:08:58 +01:00
Elrond
1ceb4fc868 Dot-Notation for MediaEntry.uploader 2011-12-05 21:08:58 +01:00
Elrond
0547843020 Dot-Notation for MediaEntry.created 2011-12-05 21:08:58 +01:00
Elrond
4ec5717a17 Dot-Notation: tests/test_edit.py
convert tests/test_edit.py over to Dot-Notation. It only
accesses the User object.
2011-12-05 21:08:58 +01:00
Elrond
2d540fed8b Dot-Notation for Users.fp_token_expire 2011-12-05 21:08:58 +01:00
Elrond
dc39e4555c Dot-Notation for Users.fp_verification_key 2011-12-05 21:08:58 +01:00
Elrond
4b77f86ab4 Dot-Notation for Users.bio and .bio_html 2011-12-05 21:08:58 +01:00
Elrond
a24e5133ed Dot-Notation for Users.url 2011-12-05 21:08:58 +01:00
Elrond
bec591d85b Dot-Notation for Users.is_admin 2011-12-05 21:08:57 +01:00
Elrond
00bb95502e Dot-Notation for Users.verification_key 2011-12-05 21:08:57 +01:00
Elrond
7a3d00ec21 Dot-Notation for Users.status 2011-12-05 21:08:57 +01:00
Elrond
4facc7a0a2 Dot-Notation for Users.email_verified 2011-12-05 21:08:57 +01:00
Elrond
9047b254f3 Dot-Notation for Users.pw_hash 2011-12-05 21:08:57 +01:00
Elrond
809cbfc5ab Dot-Notation for Users.email 2011-12-05 21:08:57 +01:00
Elrond
5a4e3ff1e2 Dot-Notation for Users.username 2011-12-05 21:08:57 +01:00
Christopher Allan Webber
5b5b67cd5c Update comment URLs to use the media slug. 2011-12-05 08:37:20 -06:00
Christopher Allan Webber
bcc9ee3205 Update the delete item to use the _id after all... it's the safest way.
See http://bugs.foocorp.net/issues/695
2011-12-05 08:35:42 -06:00
Christopher Allan Webber
38f102515a Cloudfiles not actually a dependency, removing from setup.py
If users want cloudfiles, they can always ./bin/easy_install it.
2011-12-04 23:58:58 -06:00
Christopher Allan Webber
04b0b7a124 Merge remote-tracking branch 'remotes/lorochka85/bug852_use_media_slug_instead_of_id'
Conflicts:
	mediagoblin/decorators.py
	mediagoblin/templates/mediagoblin/user_pages/media.html
	mediagoblin/templates/mediagoblin/user_pages/media_confirm_delete.html
2011-12-04 23:14:08 -06:00
tycho garen
a085dda5d2 DOCS:: #675 revision to deployment and production documents 2011-12-04 17:09:39 -05:00
Christopher Allan Webber
4752fdcf06 Filled in reason #3 to submit separate out celery. 2011-12-04 15:27:00 -06:00
Christopher Allan Webber
2ef0679790 Fix button word-wrapping issue 2011-12-04 14:39:42 -06:00
Christopher Allan Webber
83b581e425 Merge remote-tracking branch 'tychoish/master' 2011-12-04 13:59:13 -06:00
Christopher Allan Webber
5b972a192e Compiled the .mo files too 2011-12-04 13:57:35 -06:00
Christopher Allan Webber
b3efea3c79 Updated translations 2011-12-04 13:56:55 -06:00
tycho garen
b25b00d26e DOCS: update to deployment documentation and new production deployments doc 2011-12-04 14:51:00 -05:00
Christopher Allan Webber
f79886023f Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin 2011-12-04 11:06:08 -06:00
Christopher Allan Webber
f80f5b58a8 Removing the conditional that checks if there's a media in media.html
If there isn't a media, we shouldn't hit that template!  The view
should ensure that.
2011-12-04 10:24:42 -06:00
Christopher Allan Webber
21e8432956 Change "Your finest source of goblin related media" to something else
We don't want to insist everyone hold a goblin-related gallery :)
2011-12-04 10:21:58 -06:00
Elrond
ea5a5b15a3 Merge branch 'misc/fixture_add_user'
* misc/fixture_add_user:
  fixture_add_user: Factoring a unit test tool
2011-12-04 14:59:33 +01:00
Christopher Allan Webber
bb20c179c4 Most users won't see this but having space after prompt still nice for passwords. 2011-12-03 21:59:52 -06:00
Christopher Allan Webber
bbac7663f4 PEP-8'ifying prompt_if_not_set 2011-12-03 21:56:30 -06:00
Christopher Allan Webber
cfd20ed6a1 Merge remote-tracking branch 'remotes/manolinux/645_gmg_adduser_prompt' 2011-12-03 21:43:15 -06:00
Christopher Allan Webber
cc4f83faab Raise a slightly useful exception when we can't find the media type. 2011-12-03 21:38:45 -06:00
Christopher Allan Webber
a6f065632a Updated translations 2011-12-03 16:59:20 -06:00
Elrond
6603b30041 Merge remote branch 'remotes/manolinux/671_spaces_in_tag_list_edit'
* remotes/manolinux/671_spaces_in_tag_list_edit:
  * Feature #678: Drop custom delimiters in tags   * Eliminate the definition of the tag delimiter for tests.   * Remove a test that was related to custom tags delimiter. * Bug #671: Tags list on Edit page is not seperated by spaces and hard to read   * Modify a test to include this space.
  * Bug #671: Tags list on Edit page is not seperated by spaces and hard to read : Make 'media_tags_as_string' function put a space after each comma. * Feature #678: Drop custom delimiters in tags : I declare a constant in the begining of text.py file.
2011-12-03 22:11:54 +01:00
Elrond
71c6c432a5 Bug #685: only provide CSRF token if it exists
This was suggested by Nathan Yergler in the bug logs.
Just implementing it.

- Let render_csrf_form_token return None, if the CSRF_TOKEN
  is not available in the environ, because the
  process_request part of the meddleware has not yet run.

- In render_template: If the returned value from above is
  None, then do not add the csrf_token to the templates
  context.
2011-12-03 21:25:55 +01:00
Elrond
968dd9e735 Bug #685: Add failing unit test
The simplest way to reproduce Bug #685 is to ask for a non
existent page. This should return a proper 404. It
currently doesn't.
So add a unit test exactly for this.

This unit test fails currently! It will fail until the bug
gets fixed.
2011-12-03 16:50:36 +01:00
Manuel Urbano Santos
7d98005a6b Prompt for arguments in adduser if not present (I created a function in util.py to check and prompt for arguments). 2011-12-03 15:36:02 +01:00
Manuel Urbano Santos
d463055317 Change adduser arguments from positional to --keyword style. 2011-12-03 14:29:28 +01:00
Jef van Schendel
eae7d0585f Changed comment error message wording slightly. Btw, should we translate these things? 2011-12-03 01:19:15 +01:00
Jef van Schendel
0d6e5dddeb Add show-password checkbox and make it work 2011-12-02 23:48:40 +01:00