mediagoblin:mediagoblin-debian-pkg.git
5 years agoCSS edits to dropdown menu; added log out button for unverified users 533-new-dropdown
Jef van Schendel [Thu, 17 Jan 2013 15:15:03 +0000 (16:15 +0100)]
CSS edits to dropdown menu; added log out button for unverified users

5 years agoAdd header_dropdown.js
Jef van Schendel [Tue, 4 Dec 2012 20:12:00 +0000 (21:12 +0100)]
Add header_dropdown.js

5 years agoEdit header styling (add border-bottom, remove background-color); add margin to heade...
Jef van Schendel [Tue, 4 Dec 2012 20:11:42 +0000 (21:11 +0100)]
Edit header styling (add border-bottom, remove background-color); add margin to header_dropdown

5 years agoFix header width again: this is a better approach
Jef van Schendel [Sun, 2 Dec 2012 01:34:29 +0000 (02:34 +0100)]
Fix header width again: this is a better approach

5 years agoFix header width issue on small screens
Jef van Schendel [Sun, 2 Dec 2012 01:29:29 +0000 (02:29 +0100)]
Fix header width issue on small screens

5 years agoFix small user error
Jef van Schendel [Sun, 2 Dec 2012 01:25:53 +0000 (02:25 +0100)]
Fix small user error

5 years agoGive elements proper, more descriptive class names
Jef van Schendel [Sun, 2 Dec 2012 01:22:18 +0000 (02:22 +0100)]
Give elements proper, more descriptive class names

5 years agoSeveral edits to header dropdown:
Jef van Schendel [Sun, 2 Dec 2012 01:19:20 +0000 (02:19 +0100)]
Several edits to header dropdown:

- Style the up/down arrow as a button
- Remove the Actions header
- Remove redundant original "Add media" button
- Style "Add media" and "Create new collection" links as buttons

5 years agoFirst commit to add header dropdown
Jef van Schendel [Sun, 2 Dec 2012 01:13:22 +0000 (02:13 +0100)]
First commit to add header dropdown

5 years agoFall back to "en" if we don't find matching translations
Sebastian Spaeth [Sun, 2 Dec 2012 00:38:09 +0000 (01:38 +0100)]
Fall back to "en" if we don't find matching translations

In case of no matching translations, target_lang was "None" which
blew up things. Fall back to "en" in case we don't find a
corresponding translation.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoAlso package i18n/*.mo
Sebastian Spaeth [Sun, 2 Dec 2012 00:09:35 +0000 (01:09 +0100)]
Also package i18n/*.mo

....
and I wondered why my production site fails to display German pages...

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoHonor user's browser language (#558)
Sebastian Spaeth [Sat, 1 Dec 2012 23:29:30 +0000 (00:29 +0100)]
Honor user's browser language (#558)

Previously we would attempt to satisfy the user's first language
preference, immediately falling back to english if that was not
possible. Now, we will get the best match of the user's preferred
languages.

This requires storing the available locales on app startup, so we
have mg_globals.available_locales ready to compare them against the
list of preferred user languages.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoFix i18n in our browser
Sebastian Spaeth [Sat, 1 Dec 2012 22:35:52 +0000 (23:35 +0100)]
Fix i18n in our browser

We only ever served english pages since the switch to werkzeug's requests.
Fix this by actually checking the accepted languages that our web browser
sends and using that or falling back to english.

This is not optimal, imaging our browser sends "klingon, de" as accepted
languages and we happen to not have a klingon translation ready (a deficiency
that should be corrected immediately anyway!!). We would then fall back
to english rather than sending the sensible and pleasant German language
which the user would understand. This will require more backend work though.

Removing the gettext.find() in mg_globals.py. It looked in the wrong directory
anyway (mediagoblin/translations) and as that does not exist, had always returned
None without anyone noticing.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agodocs: Add trim_whitespaces plugin to relnotes and documentation
Sebastian Spaeth [Sat, 1 Dec 2012 19:31:18 +0000 (20:31 +0100)]
docs: Add trim_whitespaces plugin to relnotes and documentation

Rather than mentioning a hypothetical module restrictfive, we use the
existing plugin mediagoblin-licenses that people can install. Also,
mention that plugin in the release notes.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agotrim_whitespace meddleware plugin
Sebastian Spaeth [Thu, 29 Nov 2012 10:28:25 +0000 (11:28 +0100)]
trim_whitespace meddleware plugin

Our HTML output is very verbose (=whitespacy) as our templates are
written with an 80 char limit and lots of newlines between blocks,
variables etc....

This is a plugin that naively strips of all but the first whitespace
from the HTML response. We might want to have an all-fancy html tidy
interface here at some point, but it nicely decreases the HTML size
about a third on some simple pages.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoMake ENABLED_MEDDLEWARES a list and not a tuple, so we can modify it
Sebastian Spaeth [Thu, 29 Nov 2012 10:27:59 +0000 (11:27 +0100)]
Make ENABLED_MEDDLEWARES a list and not a tuple, so we can modify it

Plugins may want to insert meddlewares, so this list should be modifiable
at very list (if we don't want to provide helper methods for this, which
seems a tad overkill for now).

This change is required for the upcoming trim_whitespace plugin.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoRemove the NoOp meddleware
Sebastian Spaeth [Thu, 29 Nov 2012 10:25:30 +0000 (11:25 +0100)]
Remove the NoOp meddleware

There is really no reason to provide and enable a meddleware that
does exactly... NOTHING ...by default.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoImplement licenses.get_license_by_url
Sebastian Spaeth [Mon, 26 Nov 2012 13:55:33 +0000 (14:55 +0100)]
Implement licenses.get_license_by_url

Rather than exploding in the user's face (for example if we custom-configure
licenses in our MG instance, and there are still media with now "unknown"
licenses in the db), simply return a License object as a fallback, where all
attributes are set to the URL we were handed.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoImprove mediagoblin.tools.licenses
Sebastian Spaeth [Mon, 26 Nov 2012 13:47:03 +0000 (14:47 +0100)]
Improve mediagoblin.tools.licenses

"Objectify" our licenses to have .uri, .abbreviation, .name attributes
that we can pass into the templates and use there. namedtuples are a good
poor man's choice to make a License a class. (a named tuple really)

Document and optimize licenses_as_choices(), it is a one-liner really.
No need for verbose appends here...

5 years agoUse mediagoblin import machinery
Sebastian Spaeth [Fri, 30 Nov 2012 13:25:26 +0000 (14:25 +0100)]
Use mediagoblin import machinery

Rather than manually __importing__ the MEDIA_MANAGER, we should have
been using tools.common.import_component in the first place.

But even better to use the existing get_media_manager() function that
exists for exactly our purpose. Also improve documentation of what happens
in case of failure.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoRemove importlib (python2.7'ism)
Sebastian Spaeth [Fri, 30 Nov 2012 10:22:39 +0000 (11:22 +0100)]
Remove importlib (python2.7'ism)

importlib is cool, but only included in python2.7 which is beyond our
minimum python version that we support. So simply use plain old
__import__.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoMerge remote-tracking branch 'spaetz/formerge/538_FORBIDDEN_admin_pages'
Elrond [Thu, 29 Nov 2012 14:27:50 +0000 (15:27 +0100)]
Merge remote-tracking branch 'spaetz/formerge/538_FORBIDDEN_admin_pages'

* spaetz/formerge/538_FORBIDDEN_admin_pages:
  Fix error page text
  Return code 403 when accessing admin pages
  Implement generic error pages

5 years agoFix error page text
Sebastian Spaeth [Thu, 29 Nov 2012 13:51:24 +0000 (14:51 +0100)]
Fix error page text

Thanks to Elrond for noticing. We wrap error messages in <p> tags,
so there is no need to start the error message with <p>. DOH

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoMerge remote-tracking branch 'spaetz/formerge/bundle_xml_templates_too'
Elrond [Thu, 29 Nov 2012 13:34:16 +0000 (14:34 +0100)]
Merge remote-tracking branch 'spaetz/formerge/bundle_xml_templates_too'

* spaetz/formerge/bundle_xml_templates_too:
  Also package webfinger.xml

5 years agoAlso package webfinger.xml
Sebastian Spaeth [Thu, 29 Nov 2012 13:32:28 +0000 (14:32 +0100)]
Also package webfinger.xml

MANIFEST.in did not include *.xml for our templates, so the webfinger
template files got left out of our packaging with e.g. "setup.py install".
Fixed.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoMerge remote-tracking branch 'spaetz/formerge/507_remove_routes'
Elrond [Thu, 29 Nov 2012 13:29:43 +0000 (14:29 +0100)]
Merge remote-tracking branch 'spaetz/formerge/507_remove_routes'

* spaetz/formerge/507_remove_routes:
  Purge routes package from MG (#507)

5 years agoReturn code 403 when accessing admin pages
Sebastian Spaeth [Thu, 15 Nov 2012 14:41:06 +0000 (15:41 +0100)]
Return code 403 when accessing admin pages

without being an admin. Previously we were just returning a 404 page
and this confused the heck out of me, as I did not understand why the
admin pages were not there at all (I was no admin).

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoImplement generic error pages
Sebastian Spaeth [Thu, 29 Nov 2012 07:57:12 +0000 (08:57 +0100)]
Implement generic error pages

Rather than having a 404.html, a 403.html, a 500.html,...
we have a generic error.html template that we pass in an
error code, a title and a (html'ish) error message.

Implement the common render_404 and render_403 shortcuts. More exotic
cases can be achieved by the generic render_error function.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoMerge some small bits by spaetz. Needed later.
Elrond [Wed, 28 Nov 2012 15:45:15 +0000 (16:45 +0100)]
Merge some small bits by spaetz. Needed later.

* commit '9437ea4742':
  Add commit argument to clean_orphan_tags
  Add "commit" argument to Base model delete()

5 years agoAdd commit argument to clean_orphan_tags
Sebastian Spaeth [Wed, 28 Nov 2012 13:36:58 +0000 (14:36 +0100)]
Add commit argument to clean_orphan_tags

So we can prevent the session from being committed if we don't want it.

5 years agoAdd "commit" argument to Base model delete()
Elrond [Wed, 28 Nov 2012 12:50:31 +0000 (13:50 +0100)]
Add "commit" argument to Base model delete()

In case we want to bundle db actions into a single transaction, we
can now use delete(commit=False) to prevent the transaction from being
committed immediately. This is useful when e.g. deleting a User() and
thousands of his MediaEntries in a single commit.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoMerge remote-tracking branch 'spaetz/focus_on_user_creation'
Jef van Schendel [Tue, 27 Nov 2012 12:56:38 +0000 (13:56 +0100)]
Merge remote-tracking branch 'spaetz/focus_on_user_creation'

5 years agoMerge remote-tracking branch 'refs/remotes/elrond/sql/migrate_new_tables'
Christopher Allan Webber [Mon, 26 Nov 2012 21:15:13 +0000 (15:15 -0600)]
Merge remote-tracking branch 'refs/remotes/elrond/sql/migrate_new_tables'

5 years agoAutofocus the username field on user creation
Sebastian Spaeth [Mon, 26 Nov 2012 20:38:29 +0000 (21:38 +0100)]
Autofocus the username field on user creation

On a page with the single purpose to enter new user data, we should
auto-focus the username field. It is very annoying to have to click in
that field before starting to type. Theoretically, there is the "autofocus"
attribute in html5, but IE does not support that.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoMerge remote-tracking branch 'spaetz/390_delim' into review
Elrond [Mon, 26 Nov 2012 18:52:11 +0000 (19:52 +0100)]
Merge remote-tracking branch 'spaetz/390_delim' into review

* spaetz/390_delim:
  No need to strip the tag 4 times
  Slightly shorten the media_tags_as_string function
  Remove tag delimiter configurability (#390), fixed pep-8 compliance

5 years agoMerge remote-tracking branch 'elrond/for-schendje'
Christopher Allan Webber [Mon, 26 Nov 2012 18:50:17 +0000 (12:50 -0600)]
Merge remote-tracking branch 'elrond/for-schendje'

5 years agogeolocation now on by default
Christopher Allan Webber [Mon, 26 Nov 2012 17:57:33 +0000 (11:57 -0600)]
geolocation now on by default

5 years agoMerge remote-tracking branch 'remotes/spaetz/410_OSM_attrib_v2'
Christopher Allan Webber [Mon, 26 Nov 2012 17:53:59 +0000 (11:53 -0600)]
Merge remote-tracking branch 'remotes/spaetz/410_OSM_attrib_v2'

5 years agoSome small template changes
Elrond [Sun, 25 Nov 2012 23:29:39 +0000 (00:29 +0100)]
Some small template changes

1) Change the "dashboard":
   - Add a bunch of new links: Processing panel, Add media
   - Use <ul>+<li> for the *list* of possible actions
2) Add a title attribute to the "add media to collection" link

5 years agoStop unicode conversion warning during dbupdate.
Elrond [Sat, 24 Nov 2012 21:57:46 +0000 (22:57 +0100)]
Stop unicode conversion warning during dbupdate.

Just force the passed in name to MigrationManager() to unicode.

5 years agoSQL Migrations: Rewrite table creation completely.
Elrond [Sat, 24 Nov 2012 18:19:18 +0000 (19:19 +0100)]
SQL Migrations: Rewrite table creation completely.

We have migrations creating new tables. Those currently use
"raw" table definitions. This easily gives errors (we
already had this problem).

So instead rewrite those to use declarative tables and use
those to create new tables. Just copy the new table over to
the migration, strip it down to the bare minimum, rename to
_v0, base it on declarative_base() and be done!

Do this for the current migrations.

5 years agoMarking "attachment" stuff for translation (thanks for catching AVRS)
Christopher Allan Webber [Fri, 23 Nov 2012 04:27:29 +0000 (22:27 -0600)]
Marking "attachment" stuff for translation (thanks for catching AVRS)

5 years agoRequire werkzeug >= 0.7
Elrond [Fri, 23 Nov 2012 23:15:41 +0000 (00:15 +0100)]
Require werkzeug >= 0.7

We need it, really. For csrf.py's request.scheme.

Thanks to Sebastian Spaeth!

5 years agoVery small typo fix in deploying docs.
Elrond [Tue, 20 Nov 2012 13:32:29 +0000 (14:32 +0100)]
Very small typo fix in deploying docs.

Thanks to #mediagoblin.

5 years agoPurge routes package from MG (#507)
Sebastian Spaeth [Tue, 20 Nov 2012 08:25:41 +0000 (09:25 +0100)]
Purge routes package from MG (#507)

We were not actually using the routes package anymore, but it was
still mentioned in the documention. Adapt the plugin documentation to
actually represent reality, although I don't like the API design.
(but this is for another day)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoSuggest checking out the wiki for additional recipes
Christopher Allan Webber [Mon, 19 Nov 2012 18:17:44 +0000 (12:17 -0600)]
Suggest checking out the wiki for additional recipes

5 years agoNo need to strip the tag 4 times
Sebastian Spaeth [Fri, 16 Nov 2012 12:18:37 +0000 (13:18 +0100)]
No need to strip the tag 4 times

spaetz' rule: Don't do sth 4 times when once suffices.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoAdd geolocation_visible setting to mediagoblin.ini
Sebastian Spaeth [Wed, 14 Nov 2012 19:31:03 +0000 (20:31 +0100)]
Add geolocation_visible setting to mediagoblin.ini

Place the geolocation_visible setting (defaults to false) in
mediagoblin.ini to make it more discoverable (I needed to check
the source to find out how to enable it). I'd vote for a default
of true, we should come with some batteries included IMHO..

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoPop up OpenStreetMap license on demand (#410)
Sebastian Spaeth [Wed, 14 Nov 2012 09:12:58 +0000 (10:12 +0100)]
Pop up OpenStreetMap license on demand (#410)

Only a short blurb "see map license" in the small map which will
pop up the full license text via jquery when clicked.
Adapt the license text as recommended by OpenStreetMap
http://www.openstreetmap.org/copyright and link there.

The disadvantage is that this only works when Javascript is enabled,
but as the map only works when Javascript is enabled in the first place,
this should not be too much of a limitation.

TODO: Our esteemed web designer needs to have a look at the desired color
style for this. Right now, I simply placed it in the message_warning
class. This might want fine-tuning.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoBorrowing an image from Tango!
Christopher Allan Webber [Thu, 15 Nov 2012 20:40:00 +0000 (14:40 -0600)]
Borrowing an image from Tango!

5 years agoSimplify/Robustify the thumbnail URL usage in templates
Sebastian Spaeth [Fri, 9 Nov 2012 09:13:04 +0000 (10:13 +0100)]
Simplify/Robustify the thumbnail URL usage in templates

So far templates required a very complex blurb to simply insert a
thumbnail URL, exposing much of the internal logic to the template
designer. In addition, we would fail with an error if for some
reason the media_files['thumb'] entry was never populated.

This adds the MediaEntry.thumb_url property that template designers
can simply use. It will do the right thing, either fetching the proper
thumbnail or hand back a generic icon specified in a media's
MEDIA_MANAGER as "default_thumb".

Add an image default fallback icon (stolen from Tangos, which are
Public Domain since version 0.8.90 as I understand) since the one
we referred to was not existing. Perhaps, a "broken image" icon
would be better, but I'll leave that to our capable designers.

All templates have been modified to make use of the new thumb_url
function.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoSlightly shorten the media_tags_as_string function
Sebastian Spaeth [Wed, 14 Nov 2012 07:54:48 +0000 (08:54 +0100)]
Slightly shorten the media_tags_as_string function

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoRemove tag delimiter configurability (#390), fixed pep-8 compliance
dunkyp [Tue, 6 Nov 2012 13:32:48 +0000 (13:32 +0000)]
Remove tag delimiter configurability (#390), fixed pep-8 compliance

Hardcode commas as tag delimiters per discussion in issue 390. Also
improved PEP-8'ness of the file while touching. Includes some improvements
suggested by gandaro.

Reviewed-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoMerge remote-tracking branch 'refs/remotes/spaetz/trac_475_email_notification_checkbox'
Christopher Allan Webber [Tue, 13 Nov 2012 14:55:14 +0000 (08:55 -0600)]
Merge remote-tracking branch 'refs/remotes/spaetz/trac_475_email_notification_checkbox'

5 years agoDon't put checkbox text on separate line (#475)
LotusEcho [Mon, 24 Sep 2012 20:15:34 +0000 (16:15 -0400)]
Don't put checkbox text on separate line (#475)

Manually render the "notify me" checkbox line in the account settings
to not put the form label as a heading but in the same line as the
checkbox.

Edit forms.py to use the label attribute for the caption.

Original patch modified by Sebastian Spaeth to 1) not translate the
checkbox label in the template, it is translated in forms.py already.
2) Simplify the HTML, manually constructing the <label> tag is not
necessary, WTforms does it automatically.

Author:    LotusEcho <Emma.C.Echo@gmail.com>
Modified-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
5 years agoRevert thumbnail styling and sizing; allows for 5 thumbnails per row
Jef van Schendel [Thu, 1 Nov 2012 16:10:16 +0000 (17:10 +0100)]
Revert thumbnail styling and sizing; allows for 5 thumbnails per row

5 years agoChange to 5 thumbnails per row
Jef van Schendel [Thu, 1 Nov 2012 16:03:45 +0000 (17:03 +0100)]
Change to 5 thumbnails per row

5 years agoChange thumbnail width to 212px larger-thumbnails
Jef van Schendel [Thu, 1 Nov 2012 15:59:27 +0000 (16:59 +0100)]
Change thumbnail width to 212px

5 years agoUpdate Airy's base.html
Jef van Schendel [Tue, 23 Oct 2012 14:12:11 +0000 (16:12 +0200)]
Update Airy's base.html

5 years agoMove <a> end tag
Jef van Schendel [Tue, 23 Oct 2012 14:11:06 +0000 (16:11 +0200)]
Move <a> end tag

5 years agoRemove obsolete dropdown styling
Jef van Schendel [Tue, 23 Oct 2012 14:09:40 +0000 (16:09 +0200)]
Remove obsolete dropdown styling

5 years agoDon't show link to original when the file is an image
Jef van Schendel [Tue, 23 Oct 2012 13:47:05 +0000 (15:47 +0200)]
Don't show link to original when the file is an image

5 years agoDon't show zoom in cursor if there is no larger version
Jef van Schendel [Tue, 23 Oct 2012 13:41:46 +0000 (15:41 +0200)]
Don't show zoom in cursor if there is no larger version

5 years agoFixed attachments
Joar Wandborg [Mon, 22 Oct 2012 23:09:09 +0000 (01:09 +0200)]
Fixed attachments

5 years agoMerge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Christopher Allan Webber [Mon, 22 Oct 2012 16:07:01 +0000 (11:07 -0500)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.

5 years agoSet the user page to two columns wide so we don't have this weird wrapping.
Christopher Allan Webber [Mon, 22 Oct 2012 16:06:15 +0000 (11:06 -0500)]
Set the user page to two columns wide so we don't have this weird wrapping.

This is a stopgap solution!

5 years agoReplace dropdown in top right with regular links
Jef van Schendel [Sun, 21 Oct 2012 19:49:39 +0000 (21:49 +0200)]
Replace dropdown in top right with regular links

5 years agoMove "Add collection" and "Change account settings" links to root.html
Jef van Schendel [Sun, 21 Oct 2012 19:18:08 +0000 (21:18 +0200)]
Move "Add collection" and "Change account settings" links to root.html

5 years agoAdd "Add collection" link to Airy theme
Jef van Schendel [Sun, 21 Oct 2012 18:36:30 +0000 (20:36 +0200)]
Add "Add collection" link to Airy theme

5 years agoMerge branch 'master' of gitorious.org:mediagoblin/mediagoblin
Jef van Schendel [Sun, 21 Oct 2012 00:17:57 +0000 (02:17 +0200)]
Merge branch 'master' of gitorious.org:mediagoblin/mediagoblin

5 years agoStyling edits to Airy theme
Jef van Schendel [Sun, 21 Oct 2012 00:17:38 +0000 (02:17 +0200)]
Styling edits to Airy theme

5 years agoAdded HTTP API auth plugin
Joar Wandborg [Sat, 20 Oct 2012 21:56:00 +0000 (23:56 +0200)]
Added HTTP API auth plugin

5 years agoImplement new RSS icon for Airy theme
Jef van Schendel [Sat, 20 Oct 2012 16:33:26 +0000 (18:33 +0200)]
Implement new RSS icon for Airy theme

5 years agoReplace icon_feed.png with proper Airy version
Jef van Schendel [Sat, 20 Oct 2012 16:09:45 +0000 (18:09 +0200)]
Replace icon_feed.png with proper Airy version

5 years agoReplace dark empty_dots.png for Airy theme
Jef van Schendel [Sat, 20 Oct 2012 14:47:31 +0000 (16:47 +0200)]
Replace dark empty_dots.png for Airy theme

5 years agoFix thumbnail aspect ratios
Jef van Schendel [Sat, 20 Oct 2012 13:19:11 +0000 (15:19 +0200)]
Fix thumbnail aspect ratios

5 years agoRemoved Routes dependency, added admin routes
Joar Wandborg [Sat, 20 Oct 2012 10:09:23 +0000 (12:09 +0200)]
Removed Routes dependency, added admin routes

5 years agoStyling edits for buttons (Airy only)
Jef van Schendel [Fri, 19 Oct 2012 19:21:53 +0000 (21:21 +0200)]
Styling edits for buttons (Airy only)

5 years agoThumbnail styling edits plus edits to the object_gallery (4 columns instead of 5...
Jef van Schendel [Fri, 19 Oct 2012 19:13:40 +0000 (21:13 +0200)]
Thumbnail styling edits plus edits to the object_gallery (4 columns instead of 5 by default)

5 years agoThumbnail styling edits to base theme and Airy theme
Jef van Schendel [Fri, 19 Oct 2012 19:01:44 +0000 (21:01 +0200)]
Thumbnail styling edits to base theme and Airy theme

5 years agoFixed OAuth access_token duplicate route
Joar Wandborg [Sun, 14 Oct 2012 22:12:58 +0000 (00:12 +0200)]
Fixed OAuth access_token duplicate route

Changed route name to "[...]list_connections"

5 years agoAdded rudimentary route "mounting" w/ werkzeug routes; fixed auth routes
Christopher Allan Webber [Sun, 14 Oct 2012 21:26:23 +0000 (16:26 -0500)]
Added rudimentary route "mounting" w/ werkzeug routes; fixed auth routes

auth routes fixes:
 - mounted the auth routes at /auth/
 - removed crufty old verification email route

5 years agoFixed 404 page under werkzeug.routing
Joar Wandborg [Sun, 14 Oct 2012 18:05:44 +0000 (20:05 +0200)]
Fixed 404 page under werkzeug.routing

- Removed ?lang=<langcode> feature due to incompatibility with werkzeug
  routes in the current state of the architecture.

5 years agoSwitched most stuff over from Routes
Joar Wandborg [Sun, 14 Oct 2012 11:46:31 +0000 (13:46 +0200)]
Switched most stuff over from Routes

Removed the Routes routing functionality and replaced it with
werkzeug.routes. Most views are functional.

Known issues:

 - Translation integration with the request object is not yet figured
   out. This breaks 404 pages.

5 years agoFixing the airy attribution in the header.
Christopher Allan Webber [Sun, 7 Oct 2012 14:55:27 +0000 (09:55 -0500)]
Fixing the airy attribution in the header.

Not written by me, and not goblincities! :)

5 years agoFixed pylint issues, removed unused import
Joar Wandborg [Tue, 2 Oct 2012 20:29:22 +0000 (22:29 +0200)]
Fixed pylint issues, removed unused import

5 years agoAdded VideoThumbnailerMarkII
Joar Wandborg [Tue, 2 Oct 2012 14:56:29 +0000 (16:56 +0200)]
Added VideoThumbnailerMarkII

- Set video.processing to use VideoThumbnailerMarkII.

5 years agoChanged copy.copy(get_params) to dict(get_params)
Joar Wandborg [Sun, 30 Sep 2012 18:34:39 +0000 (20:34 +0200)]
Changed copy.copy(get_params) to dict(get_params)

in pagination because request.GET/request.args is immutable since the
switch to werkzeug.

5 years agoRemoved debugging stuff from master
Joar Wandborg [Sun, 30 Sep 2012 12:49:50 +0000 (14:49 +0200)]
Removed debugging stuff from master

5 years agoUse RawConfigParser instead of dict.viewitems
Joar Wandborg [Sun, 30 Sep 2012 12:42:12 +0000 (14:42 +0200)]
Use RawConfigParser instead of dict.viewitems

dict.viewitems breaks python 2.6 compatibility.

5 years agoSet up celery logging from paste ini
Joar Wandborg [Sun, 30 Sep 2012 10:43:36 +0000 (12:43 +0200)]
Set up celery logging from paste ini

5 years agoReplaced all request.POST with request.form, ...
Joar Wandborg [Sat, 29 Sep 2012 19:07:15 +0000 (21:07 +0200)]
Replaced all request.POST with request.form, ...

- Fixed error handling in OAuth plugin
- Changed request.POST file fields to request.files

5 years agoAdded OAuth test
Joar Wandborg [Sat, 29 Sep 2012 19:06:14 +0000 (21:06 +0200)]
Added OAuth test

5 years agoFixed pylint/pep8 warnings in test/tools.py
Joar Wandborg [Sat, 29 Sep 2012 19:05:01 +0000 (21:05 +0200)]
Fixed pylint/pep8 warnings in test/tools.py

5 years agoSwitch from webob.Request to werkzeug.wrappers.Request
Joar Wandborg [Thu, 27 Sep 2012 19:41:48 +0000 (21:41 +0200)]
Switch from webob.Request to werkzeug.wrappers.Request

5 years agoGrammar re: libasound2-dev
Joar Wandborg [Sat, 29 Sep 2012 18:39:17 +0000 (20:39 +0200)]
Grammar re: libasound2-dev

5 years agoAdded note about libasound2-dev to docs.
Joar Wandborg [Sat, 29 Sep 2012 18:35:49 +0000 (20:35 +0200)]
Added note about libasound2-dev to docs.

5 years agoAdded cascade all, delete-orphan to ProcessingMetaData
Joar Wandborg [Thu, 27 Sep 2012 09:59:17 +0000 (11:59 +0200)]
Added cascade all, delete-orphan to ProcessingMetaData

5 years agoAdded tests for HTTP callbacks
Joar Wandborg [Wed, 26 Sep 2012 22:45:25 +0000 (00:45 +0200)]
Added tests for HTTP callbacks

5 years agoAdded some OAuth plugin tests
Joar Wandborg [Wed, 26 Sep 2012 21:33:20 +0000 (23:33 +0200)]
Added some OAuth plugin tests