| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add Location model which holds textual, geolocation coordiantes
or postal addresses. This migrates data off Image model metadata
onto the general Location model. It also adds the ability for location
to be set on MediaEntry, User, MediaComment and Collection models.
The geolocation plugin has been updated so that the location can be displayed
in more general places rather than explicitely on the MediaEntry view.
If GPS coordiantes are set for the User the profile page will also have the
OSM provided by the geolocation plugin.
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Add Activity and Generator models which allow for
activities to be created. This now works with the
feed API.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Make changes to objectType to be more pythonic "object_type"
- Move object_type to mixins rather than be on the models
- Convert migrations to sqlalchemy core rather than ORM (fix)
- Change TYPES to use descriptive strings rather than numbers
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- This has introduced a intermediatory table between object/target and
the activity. This allows for multiple activities to be associated
with one object/target.
- This moves some of the methods off Activity model into a mixin which
didn't need to interact with database things.
- This also cleaned up the migrations as well as adding retroactive
creation of activities for collection creation.
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This creates the Activity and Genrator models from the Activity
Streams spec and. I then created a migration which retro-actively
create activities for media uploaded and comments created. Through
out the code I've added so automatically activties are created when
a user peforms an action (uploading media, commenting, etc.).
|
| |
| |
| |
| | |
This commit sponsored by Loïc Grobol. Thank you!
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Has some issues, will iteratively fix!
Conflicts:
mediagoblin/gmg_commands/__init__.py
mediagoblin/gmg_commands/deletemedia.py
mediagoblin/gmg_commands/users.py
mediagoblin/oauth/views.py
mediagoblin/plugins/api/views.py
mediagoblin/tests/test_api.py
mediagoblin/tests/test_edit.py
mediagoblin/tests/test_oauth1.py
mediagoblin/tests/test_util.py
mediagoblin/tools/mail.py
mediagoblin/webfinger/views.py
setup.py
|
| |
| |
| |
| | |
This commit sponsored by Christopher Beppler. Thanks!
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Instead of checking for their keys and pulling them out later, that is.
|
| | |
|
| | |
|
| |
| |
| |
| | |
Also, updating the comment about sqlite being crazy :)
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
The previous migration, as it turns out, was not needed, and there
were many inconsistencies put in place by adding it. See issue #920.
This commit sponsored by Gergő Tisza. Thank you!
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
This commit sponsored by Emily O'Leary. Thank you!
|
| |
| |
| |
| | |
This commit sponsored by Philip Horger. Thank you!
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This builds on the previous code Natalie wrote, but makes some changes:
- More direct alterations for non-sqlite code
- In both cases, I've made it so that we switched the field names from
privilege_id and user_id to user and privilege respectively. This
way we can do the name swap, but in one case it's "easy": just
changing the name. (In the sqlite case it's still tricky though.)
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
mediagoblin/db/migrations.py
|
| | | |
|
| | |
| | |
| | |
| | | |
will not cause any more problems.
|
| | | |
|
| | | |
|
| | | |
|
| |/
| |
| |
| | |
media.
|
| | |
|
|/
|
|
| |
I will be switch to use ``from __future__ import unicode_literals`` later.
|
|
|
|
| |
thru and it looked great.
|
| |
|
|
|
|
|
|
| |
We'd still prefer people use other solutions when possible!
This commit sponsored by Michał Masłowski. Thank you!
|
|\
| |
| |
| | |
merge-tillyq-moderation
|
| |
| |
| |
| |
| |
| | |
around the SQLite problems with Alter table. I added a new function to
migration_tools (replace_table) which does all the work I did in my migration of
core__users, but is now usable for other migrations.
|
|/
|
|
| |
Was comparing/assigning to integers... but that's not how postgres rolls!
|
|
|
|
|
| |
Uploaded and upload_limit were added after this migration was first written.
Tricky!
|
|\
| |
| |
| | |
merge-tillyq-moderation
|
| |
| |
| |
| |
| |
| |
| | |
in some of my other bits of code. In migrations.py, I clarified the comments &
fixed the code to stay within 80 columns. In each of the templates, I fixed the
spacing as well to stay within 80 columns and I also corrected my improper uses
of the trans tag to ensure that these pages can be translated correctly.
|
| |
| |
| |
| | |
This commit sponsored by Kim Jin-hoon. Thank you!
|
| |
| |
| |
| | |
This commit sponsored by Glenn McGrath. Thank you!
|
|\|
| |
| |
| |
| |
| |
| | |
Conflicts:
mediagoblin/templates/mediagoblin/user_pages/user.html
mediagoblin/tests/test_auth.py
mediagoblin/tests/test_submission.py
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
code. I had removed the import of Privilege in mediagoblin.db.migrations, and
this was still necessary and was causing errors. I also made it so that media
deletion by moderators, through reports, actually fully deleted the media,
rather than just deleting the database representation of the media. Lastly, I
fixed a bug in migration that caused a fatal error on login because the UserBan
user_id column was improperly named in it's creation by migration.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
vestigial columns from the User table (ie. status, email_verified, is_admin).
Otherwise, I did a lot of work converting my existing migrations from high-
level ORM commands to low-level SQL commands to ensure that the migrating will
work regardless of what stage their instance is working in. I also re-integrated
my two registered migrations into one. Because the migration became very long, I
also added a lot of clarifying documentation.
|