Christopher Allan Webber
029cad45c6
./bin/gmg shell! Should make a lot of peoples' hacking lives easier I suspect :)
2011-05-15 19:02:11 -05:00
Christopher Allan Webber
e2decbcf1e
Removing the raw string-ness
2011-05-13 16:07:37 -05:00
Jef van Schendel
9d4b435a72
Removing backup files and preventing them from showing up via .gitignore
2011-05-13 15:38:04 -05:00
Jef van Schendel
983aa712ad
labels changed to font-weight normal instead of bold, css structure improved
2011-05-13 15:34:44 -05:00
Jef van Schendel
cb1e4a3d1f
Added @font-face to css
2011-05-13 15:34:35 -05:00
Jef van Schendel
4a0f823e51
Added header to base.html
2011-05-13 15:34:26 -05:00
Jef van Schendel
8d2a42d435
Changed all headers to <h1>
2011-05-13 15:34:10 -05:00
Jef van Schendel
223b410dce
Styled buttons for real this time
2011-05-13 15:33:58 -05:00
Jef van Schendel
8c01ae42e9
Styled input buttons
2011-05-13 15:33:46 -05:00
Jef van Schendel
20aaec5f68
Changed base.html back to old version
2011-05-13 15:33:27 -05:00
Jef van Schendel
881b6e2c32
Fixing changes
2011-05-13 15:33:19 -05:00
Aaron Williamson
1013bdaff2
Minor fomatting fix.
2011-05-13 14:16:35 -04:00
Aaron Williamson
0546833c6e
Generate unique slugs for newly submitted images.
2011-05-13 12:18:52 -04:00
Christopher Allan Webber
a8e2812b05
min=0 makes more sense than min=-1
2011-05-12 23:40:47 -05:00
Aaron Williamson
bb49e56f8c
On image submission, do not require title. If none entered, default to filename.
2011-05-12 23:38:02 -05:00
Christopher Allan Webber
9a22d0a023
Merge remote branch 'refs/remotes/dneelyeps/master'
2011-05-12 23:34:19 -05:00
Christopher Allan Webber
376e6ef296
locale rather than target_lang in the get parameters
2011-05-12 23:17:53 -05:00
Sebastian Spaeth
7acdbfd364
Improve user homepage
...
1) Only consider user's with 'status': 'active'. We don't want to
display unconfirmed/blocked users, right?
2) Actually query user's media in the view and display on their home
page.
3) Throw an error 404 if we don't find a valid user, rather than saying,
"User not found" (from within the template).
4) Pass in medias as media_entries to remain compatible with the 'root'
page.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2011-05-12 23:10:21 -05:00
Christopher Allan Webber
b77eec653d
Load gettext, and load it into the template environment
2011-05-12 22:33:30 -05:00
Christopher Allan Webber
e461b77713
moving mediagoblin.po to a filename that makes sense
2011-05-12 15:26:15 -05:00
Christopher Allan Webber
0e0e3d9aad
Separation between setting up the template env and the template loader
...
for a glorious future where we have gettext in template context
2011-05-12 15:17:07 -05:00
Christopher Allan Webber
f62ccaac15
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin
...
Conflicts:
mediagoblin/util.py
2011-05-12 14:59:08 -05:00
Christopher Allan Webber
8b28bee4c1
Added some locale determination tools
2011-05-12 14:57:58 -05:00
Christopher Allan Webber
21919313df
Fix the email debug inbox
2011-05-12 14:51:45 -05:00
Christopher Allan Webber
2de317f2f3
I probably shouldn't break the main page since we don't have the
...
gettext thing in place yet.
2011-05-12 14:25:28 -05:00
Daniel Neel
bdcd615c3c
Update to previous commit
...
To add an extra comment symbol.
2011-05-12 14:54:59 -04:00
Daniel Neel
84440a68f7
Edits to "What's where" diagram in docs/codebase.rst
...
Added comment symbols to distinguish comments from directory names.
Changed wording a bit on one part.
2011-05-12 14:52:51 -04:00
Daniel Neel
434fb405e3
Updated table of contents
...
Updated TOC to match "Foreward" > "Foreword"
2011-05-12 14:48:50 -04:00
Daniel Neel
c6d266f651
Fixed previous broken commit
...
Made a mistake with the last commit, fixed here.
2011-05-12 14:46:59 -04:00
Daniel Neel
016617a6c9
Changed "Foreward" to "Foreword"
...
Figured this was a typo. If not, feel free to skip this commit.
2011-05-12 14:46:02 -04:00
Daniel Neel
c19eed5283
Fixed a typo in docs/contributinghowto.rst
...
"it'd" > "it's"
2011-05-12 14:35:39 -04:00
Daniel Neel
49fa1a0073
Fixed another typo in docs/mediagoblin.rst
...
"We decide that in this case, that someone would be us!"
> "We decided that in this case, that someone would be us!"
2011-05-12 14:29:54 -04:00
Daniel Neel
5e593201a6
Fixed a typo in docs/mediagoblin.rst
...
"...their data and that measn someone..."
> "...their data and that means someone..."
2011-05-12 14:23:52 -04:00
Christopher Allan Webber
23d23dcf6b
Moving translations to mediagoblin/translations
2011-05-12 10:22:56 -05:00
Christopher Allan Webber
1fc336e7e5
adding master.po translations file
2011-05-12 10:20:07 -05:00
Christopher Allan Webber
95aa6b56b2
buildout instructions come first since it's easier if it does work
2011-05-12 10:05:35 -05:00
Christopher Allan Webber
36bb98fbba
Translate the welcome message (extracts successfully!)
2011-05-12 09:48:54 -05:00
Christopher Allan Webber
84d4f04edc
Added extraction stuff that's not used but appears to work :)
2011-05-12 09:44:04 -05:00
Christopher Allan Webber
20c834ffe4
Add the jinja2 extension to the jinja loader
2011-05-12 09:18:53 -05:00
Christopher Allan Webber
829d50f350
Fixing tyop in README... thanks Daniel Neel!
...
Also clarifying that our public alpha may be in October, which is what
we've said elsewhere.
2011-05-12 07:17:02 -05:00
Christopher Allan Webber
1504acfddf
Right, we don't need the exported HTML either.
2011-05-12 07:15:11 -05:00
Christopher Allan Webber
6557056bca
I don't believe we need READMEish.org anymore.
2011-05-12 07:14:15 -05:00
Sebastian Spaeth
d483b9b473
Enforce using local dateutil with buildout
...
Natty has a too old system dateutil, but buildout will put the system
modules in the search path first. By adding the dateutil spec to the
'egg' requirement, we put the dateutil inclusion of the local egg first
and natty compiles (buildouts) fine.
Part of http://bugs.foocorp.net/issues/308
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2011-05-11 16:23:53 -05:00
Christopher Allan Webber
7222955fba
URLs should end in trailing slashes, or slash redirection doesn't work
2011-05-11 10:26:15 -05:00
Christopher Allan Webber
80c1802440
Removing this horrifying submission test stuff from way back when
2011-05-10 16:35:34 -05:00
Christopher Allan Webber
f624940844
404 appropriately here
2011-05-10 16:25:04 -05:00
Christopher Allan Webber
2eef8761d8
Indenting these templates because I'm pedantic about tag sections
...
having their content indented :)
2011-05-10 16:24:51 -05:00
Sebastian Spaeth
9a16e16ffa
Implement simple media detail page
...
This patch creates a "homepage" for each media. The URL is
/u/<username>/m/<objID>.
On it we display the media and some details. It is ugly and lacking some
stuff but it works. The only thing left to do is to throw an 404 error
if the <username> and the media uploader don't correspond.
- Also create a user "home page" while at it. It is merely a place
holder for now though.
- Link from the entries on the homepage, to the media pages, so we
actually find them.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2011-05-10 16:01:43 -05:00
Christopher Allan Webber
9d97145fe4
Merge remote branch 'spaetz/fix_description'
2011-05-08 20:20:19 -05:00
Sebastian Spaeth
ec61f09492
Fix description submission in form handling
...
When we submitted an image the description would remain empty. THis was
because of some weird typo in form handling. Get an attribute with
.get('description') and not with .get(['description']). With this patch,
descriptions actually go into the database.
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2011-05-09 00:23:12 +02:00