| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This commit sponsored by Mikael Nordfeldth. Thank you!
|
|
|
|
|
|
| |
though.
This commit sponsored by Benjamin Williams. Thank you!
|
|
|
|
| |
This commit sponsored by Bruno Girin. Thank you!
|
|
|
|
|
|
|
| |
The methods we're using here aren't ideal but they mirror those used
in the submit views...
This commit sponsored by Alexander Couper. Thanks!
|
|
|
|
|
|
|
|
| |
datastructure
Important, because that only makes sense for wsgi! :)
This commit sponsored by Geoff Lehr. Thank you!
|
|
|
|
| |
This commit sponsored by Benjamin Prager. Thank you!
|
| |
|
|
|
|
| |
This commit sponsored by Iain Nicol. Thank you!
|
|
|
|
|
| |
This commit sponsored by Joar Wandborg. Joar, thanks for the many
things you've done for MediaGoblin!
|
| |
|
|
|
|
|
|
| |
Well, cleaning that up :)
This commit sponsored by Enrico Zini. Thanks!
|
| |
|
|
|
|
|
|
| |
Moved set_file_metadata till after the thumb file was created!
This commit sponsored by Samat Jain. Thank you!
|
| |
|
| |
|
| |
|
|\
| |
| |
| | |
'refs/remotes/tilly-q/dev_tools_environment_update' into mergetest
|
| |
| |
| |
| |
| | |
for the chosen database, and one for the media to go in the UserDev directory.
This will make the mg-dev-example-environments branch more efficient.
|
| |
| |
| |
| |
| |
| | |
the naming system for the databases, and in this branch I just changed the
default name to the new default. The new naming system is based on migrations
not milestones.
|
| | |
|
| | |
|
| |
| |
| |
| | |
This commit sponsored by Nick Adams! Thank you!
|
| | |
|
| | |
|
| |
| |
| |
| | |
This commit sponsored by Andrés Muñiz Piniella. Thank you!
|
|/ |
|
|
|
|
|
|
| |
My bad! Since I moved it to the footer ;)
This commit sponsored by Sebastian Tennant. Thanks!
|
|
|
|
|
|
|
|
|
| |
Removed unicode strings from some recently added has_privilege calls.
Appears this is not valid syntax as it would be in the python code
itself. Causes an error showing the template:
Error - <class 'jinja2.exceptions.TemplateSyntaxError?'>: expected token
',', got 'string'
|
|
|
|
| |
This commit sponsored by Gjalt-Jorn Peters. Thank you!
|
|
|
|
|
|
| |
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.
|
| |
| |
| |
| |
| |
| | |
I'm pretty sure this should work correctly now.
This commit sponsored by Michał Masłowski. Thanks!
|
| |
| |
| |
| | |
This commit sponsored by Derek Holdaway. Thanks!
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Not that branch's fault! Just both that branch and master had both done
a lot of changes to overlapping code.
self.test_user switched to self.our_user(). Updating everywhere.
This commit sponsored by Sam Kleinman. Thank you! :)
|
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
paroneayea's request, which was to make to possible to turn off user's ability
to file reports through a mediagoblin.ini setting. Aside from this, I had to
make it possible for the Moderation User Panel to display more than 10 users.
And aside from that, I just had to fix some errors which cropped up with my
most recent additions. I also fixed some tests that were broken because I had
changed the checks for whether or not a user is active. Nearing the end!
===============================================================================
Made it possible to turn off reports through a mediagoblin.ini setting
===============================================================================
--\ mediagoblin.ini
--\ mediagoblin/config_spec.ini
--\ mediagoblin/decorators.py
--\ mediagoblin/moderation/views.py
--\ mediagoblin/templates/mediagoblin/user_pages/media.html
--\ mediagoblin/user_pages/views.py
===============================================================================
Made User Panel capable of showing more than 1 page of users
===============================================================================
--\ mediagoblin/moderation/forms.py
--\ mediagoblin/moderation/views.py
--\ mediagoblin/templates/mediagoblin/moderation/user_panel.html
===============================================================================
Fixed Broken Tests
===============================================================================
--\ mediagoblin/tests/test_notifications.py
--\ mediagoblin/tests/test_openid.py
--\ mediagoblin/tests/test_persona.py
--\ mediagoblin/tests/test_reporting.py
===============================================================================
Fixed errors in code
===============================================================================
--\ mediagoblin/db/migrations.py
--| Set nullable to True for MediaReports' and CommentReports' content foreign
|keys
--\ mediagoblin/db/models.py
--| Got rid of cascading rules for MediaReports' and CommentReports' content
|foreign keys. This makes it possible for the Reports to continue to exist
|after the content is deleted.
--\ mediagoblin/moderation/tools.py
--| Fixed formatting of Report Resolution Methods
--| Took out pieces of code used in debugging
--\ mediagoblin/templates/mediagoblin/base.html
--\ mediagoblin/templates/mediagoblin/moderation/report.html
--| Made reports details page able to tell what is a deleted archived report.
--\ mediagoblin/templates/mediagoblin/moderation/report_panel.html
--\ mediagoblin/templates/mediagoblin/utils/report.html
|
| |\
| | |
| | |
| | |
| | | |
Conflicts:
mediagoblin/db/migrations.py
|