1956 Commits

Author SHA1 Message Date
Jef van Schendel
643278243c Add left and right arrow keys navigation (add new JS file, link it from media.html; add new navigation_right class to right button) 2012-02-14 16:59:31 +01:00
Jef van Schendel
23f87661f0 Center small images by default 2012-02-14 16:42:54 +01:00
Jef van Schendel
85778e79a8 Add clear div to correct floating divs 2012-02-14 16:38:51 +01:00
Jef van Schendel
00996b9255 Remove form background images; replace them with regular border styles 2012-02-14 16:34:03 +01:00
Christopher Allan Webber
38816c6607 Revert "Layout overhaul time!"
This reverts a whole bunch of commits, fb1dc4f5 thru 92e8ca79, where
an experimental new layout was played with.  Unfortunately, this
layout broke the look and feel of master, even though it was going in
the right direction for mobile stuff.  Jef said he'll do things in a
branch!
2012-02-13 21:31:11 -06:00
Elrond
53280164e2 47: Only lowercase host part of email
According to most documentation it seems that the local
part of an email adress is/can be case sensitive. While
the host part is not.
So we lowercase only the host part of the given adress.

See: http://issues.mediagoblin.org/ticket/47
2012-02-13 23:20:04 +01:00
Jef van Schendel
92e8ca790b Wait, scratch that. This commit uses a better way. 2012-02-12 21:02:02 +01:00
Jef van Schendel
f2ca3ad6ac Add navigation button styles for mobile 2012-02-12 21:00:20 +01:00
Jef van Schendel
b0ed64aa12 Fix comment input field width/padding; change some text; remove weird #form_comment duplicate rules; move Edit/Delete buttons next to title 2012-02-12 20:47:25 +01:00
Jef van Schendel
4944e3c374 Make media thumbnail gallery a list instead of a table 2012-02-12 19:33:05 +01:00
Jef van Schendel
be09ed51c8 Corrections for mobile layout 2012-02-12 18:39:55 +01:00
Jef van Schendel
28439be4e3 Move "Added on" date to sidebar 2012-02-12 18:25:52 +01:00
Jef van Schendel
630dd7941d Style sidedata h3; revert sidebar margin change 2012-02-12 18:23:18 +01:00
Jef van Schendel
a1161b84a6 Fix sidebar margins 2012-02-12 18:12:23 +01:00
Jef van Schendel
c6498b26be Move Attachments from sidebar to default pane 2012-02-12 16:30:21 +01:00
Jef van Schendel
1fccaf4a81 Consistencify sidebar bits (same headers and such) 2012-02-12 16:28:42 +01:00
Jef van Schendel
b21c943427 Restore sidebar 2012-02-12 16:18:58 +01:00
Jef van Schendel
fb1dc4f56b Layout overhaul time! 2012-02-11 23:04:02 +01:00
Elrond
eea6d276bc sql db design suggestions by Svavar Kjarrval
Many thanks go to Svavar Kjarrval who has taken a deeper
look at our current sql db design and made a bunch of
suggestions.  The suggestions are currently put as TODO
items in the docstrings.  This way we can keep track of
them directly where we need it.
2012-02-11 12:11:51 +01:00
Jef van Schendel
937c7ea5d9 Fix for ticket #386 2012-02-09 21:46:57 +01:00
Will Kahn-Greene
934d0b67a0 Update version to 0.3.0-dev 2012-02-09 10:49:50 -05:00
Will Kahn-Greene
58301e093c Update version numbers 2012-02-09 10:45:43 -05:00
Christopher Allan Webber
39edc73cb0 Committing extracted and compiled translations 2012-02-09 09:30:26 -06:00
Will Kahn-Greene
7f4ebeed76 Fix copyright statements; add LICENSE for EXIF.py 2012-02-08 10:47:08 -05:00
Christopher Allan Webber
c2dfe1dd40 Fully qualify the import of asciitoimage 2012-02-08 09:29:24 -06:00
Christopher Allan Webber
110b4acc3d Committing extracted and compiled translations 2012-02-05 16:23:29 -06:00
Christopher Allan Webber
56d1ebdf29 Committing present MediaGoblin translations before pushing extracted messages 2012-02-05 16:23:18 -06:00
Christopher Allan Webber
1eb0bd71c5 Committing present MediaGoblin translations before pushing extracted messages 2012-02-05 16:21:14 -06:00
Elrond
ccca39f1d8 Fix EXIF based image rotation test
The test checks for a pixel value after rotation (good
idea!). But the value seems to be a bit different on some
platforms, so use a list of seen values.

Not the perfect solution, but it works.
2012-02-04 21:37:05 +01:00
Joar Wandborg
64da09e86a ASCII media support - Fixes
- Added debug logging in
  - mediagoblin.processing
  - mediagoblin.media_types.ascii.processing
  - mediagoblin.media_types.ascii.asciitoimage
2012-02-04 20:51:05 +01:00
Joar Wandborg
010d28b4f0 ASCII art support - Fixes
- Improved(?) character set detection, chardet will not win
  over UTF-8 unless it is >= 90% sure.
- Changed the unicode.txt to ascii-portable.txt, since there is
  no unicode in the file.
- etc.
2012-02-02 22:29:40 +01:00
Joar Wandborg
3f1dc64ed1 Added extensions 'asc' and 'nfo' to ASCII media type 2012-02-02 22:29:39 +01:00
Christopher Allan Webber
cf29e8a824 It's 2012 all up in here 2012-02-02 09:44:13 -06:00
Christopher Allan Webber
7f3ec607a3 Explained why migration #1 commented out. 2012-01-29 22:19:53 -06:00
Christopher Allan Webber
78d17b8055 Excepting that migration 1 doesn't work(!), sqlalchemy migration branch working
The reason migration 1 doesn't work, and is commented out, is because
of sqlalchemy-migrate not handling certain constraints while dropping
binary sqlite columns right.  See also:
http://code.google.com/p/sqlalchemy-migrate/issues/detail?id=143&thanks=143&ts=1327882242
2012-01-29 22:19:03 -06:00
Christopher Allan Webber
adf5436373 Update the string outputs to match our tests: newlines, ...->:, etc. 2012-01-29 21:45:05 -06:00
Christopher Allan Webber
e920b96859 db_conn.engine -> db_conn.bind 2012-01-29 17:28:25 -06:00
Christopher Allan Webber
bff7098a6c migrations_to_run here a list, so no reason to call it 2012-01-29 17:26:23 -06:00
Christopher Allan Webber
be1077ac44 Migration manager's current migration should be 3, not 7, after running all migrations! 2012-01-29 17:23:27 -06:00
Christopher Allan Webber
505c0db119 Fixed the descriptions for the necroplex! 2012-01-29 17:22:29 -06:00
Christopher Allan Webber
c7fa585bff assert column type from Unicode -> VARCHAR. SQLAlchemy reflection only so smart ;) 2012-01-29 17:21:44 -06:00
Christopher Allan Webber
ecb4cc8990 printer = CollectingPrinter -> printer = CollectingPrinter() 2012-01-29 17:11:41 -06:00
Christopher Allan Webber
245e6d83a6 CollectingPrinter is a class, not a function! 2012-01-29 17:10:18 -06:00
Christopher Allan Webber
9303d47df0 self.latest_migration now a property, so we shouldn't __call__ it! 2012-01-29 17:08:38 -06:00
Christopher Allan Webber
f98be6a65b For clarity, self.database -> self.session.
Actually, I'm not even sure *that* is ideal!  But better than what we
had...
2012-01-29 17:07:47 -06:00
Christopher Allan Webber
ef8591fdd0 Yet *another* self.database -> self.database.bind fix! 2012-01-29 17:06:19 -06:00
Christopher Allan Webber
396f39c3e9 Fix database_current_version for when self.migration_data is None. 2012-01-29 17:05:16 -06:00
Christopher Allan Webber
16d4dce9e9 another db -> db.bind fix. 2012-01-29 17:00:39 -06:00
Christopher Allan Webber
f3791a9490 A few basic fixes to sql/util.py
- MigrationRecord to MigrationData, again
 - If the table doesn't exist, return None for database_current_migration
 - database.engine -> database.bind
2012-01-29 16:58:58 -06:00
Christopher Allan Webber
0f3526c601 magical_powers relationship set on wrong table, fixed 2012-01-29 16:48:44 -06:00