| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 9da4e8049f2de900f7aa12f2fed8c60d6749ff0b.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit f67611fb485b5a84cedc62b73beb1e551e8cb934.
For some reason, generating a slug here throws an integrity error during
a query when there is a duplicate slug.
|
| | | | |
| | | | |
| | | | |
| | | | | |
gavroche style
|
| | | | | |
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixed CSRF + Post with comment preview.
Merged with latest master
|
| | | | |
| | | | |
| | | | |
| | | | | |
suggested by joar.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
comment's value as a JSON string to a new handler that lives at /ajax/comment/preview. The query string is decoded, unquoted, and has its leading and trailing quotes removed to match the input that cleaned_markdown_conversion expects.
It does this in real time with a 500ms lag by using a timer. Initially I tried the onChange handler but you need to lose focus for that to process. The javascript timer is only invoked if the add comment button is pressed. A request is only sent if the comment box is not empty and the current value is not the same as the last value.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Patch submitted by LotusEcho
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* add comments & clarify code for jinja2 extensions
Conflicts:
mediagoblin/config_spec.ini
|
| | | | |
| | | | |
| | | | |
| | | | | |
Patch submitted by Kushal
|
| | | | |
| | | | |
| | | | |
| | | | | |
This commit sponsored by Vasili Sviridov. Thank you!
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
-gration, there is only one of each Foundation object.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
gitorious.org:~npigeon/mediagoblin/npigeons-mediagoblin
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
only a few tests I had to add to mediagoblin/tests/test_sql_migrations.py beca-
-use the foundation creation only happens at database initialization.
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
for plugins. In this commit I changed the MigrationManager and DatabaseData ob-
jects to account for FOUNDATIONS in any plugin's (or main program's) models.py
file.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
mediagoblin/db/models.py. This list holds all of the information about rows that
should be created at database initialization. Read the documentation near the
FOUNDATIONS list to understand the proper format for this list.
All of the work is done through a new method on MigrationManager in
mediagoblin/db/migrations_tools.py. This method, `populate_table_foundations`
parses the FOUNDATIONS list and creates the foundations based on the data incl-
uded. This only ever happens when the database is initialized. Migrations to
releases with new Foundations should be very easy just using the basic
database functionality.
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
This commit sponsored by Tom Marble. Thanks Tom!
|
| |_|/ /
|/| | |
| | | |
| | | | |
made "import crypto" fully qualified
|
| |/ /
|/| |
| | |
| | | |
This commit sponsored by Brandon Smith. Thank you!
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
By switching this to a tuple that includes the media type in the key
itself, this requires iteration and execution of functions that
"check" that they are the right type.
This commit sponsored by Greg Grossmeier. Thanks buddy! :)
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
mediagoblin.ini
mediagoblin/tests/test_mgoblin_app.ini
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
types->plugins
The last commit was also small, so Jeff Moe gets... two! Two sponsored commits!
Ah ah ah. </count_voice>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This helps resolve one of the remaining issues with the tests for the
media type pluginification.
This commit sponsored by Jeffrey Moe. Thanks Jeff! Lulzbot rocks!
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously it called even plugins media types. Ha!
This commit sponsored by Jon Merkley. Thank you!
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
plugin style
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since sessions are rebuilt, e.g. when you try to post a blank
comment and therefore receive an error message, the session will
be overwritten without the old max_age.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
As proposed in issue #354; it adds an attribute max_age
to mediagoblin.tools.session.Session that is passed to
response.set_cookie; max_age is set to 30 days if the
checkbox is selected
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix to link to the pubsub hub for atom_feed 'by tag'.
Added 'rel': 'alternate' and 'type': 'text/html' to 'atomlinks'
|