4254 Commits

Author SHA1 Message Date
saksham1115
4688fc0582 Converting to subtitle plugin 2016-07-19 17:29:24 +00:00
saksham1115
849b498f9a Deleted some files 2016-07-19 17:29:24 +00:00
saksham1115
772a07e94f Only video uploader can edit their subtitles 2016-07-19 17:29:24 +00:00
saksham1115
def53bc3ed Only video owner can upload the subtitle for the video 2016-07-19 17:29:24 +00:00
saksham1115
4292c6aaaa Modified get_path function in tools/subtitles.py 2016-07-19 17:29:09 +00:00
saksham1115
9f8e9ff18a Removed option for adding subtitles for image etc 2016-07-19 17:29:09 +00:00
saksham1115
a8902a5edb Saing subtitle after edit 2016-07-19 17:29:09 +00:00
saksham1115
1ba4556b90 Removed ast and fixed comments 2016-07-19 17:29:09 +00:00
saksham1115
0e60155a6f Adding the migration file 2016-07-19 17:29:09 +00:00
saksham1115
885c2ad4f2 Adding css to textarea 2016-07-19 17:29:09 +00:00
saksham1115
316bef6908 Opening ths subtitle using absolute path and open function 2016-07-19 17:29:09 +00:00
saksham1115
2c36555bfe Converting the path to subtitle into a tuple 2016-07-19 17:29:09 +00:00
saksham1115
533c7ab44a Removing commented code 2016-07-19 17:29:09 +00:00
saksham1115
6721143fe3 Cleaning up 2016-07-19 17:29:09 +00:00
saksham1115
330f409ee9 Customizing Subs using Wtforms 2016-07-19 17:29:09 +00:00
saksham1115
92497b7af6 Working for firefox 2016-07-19 17:29:09 +00:00
saksham1115
7cf96b8e6d Loading subtitle files [Not working] 2016-07-19 17:29:09 +00:00
saksham1115
ff60d4a544 Path decoded and sent to html page 2016-07-19 17:29:08 +00:00
saksham1115
447d1c2533 Made decorators views for Customize Interface 2016-07-19 17:29:08 +00:00
saksham1115
991a0c911e Customize Interface in progress 2016-07-19 17:29:08 +00:00
saksham1115
682b891d91 Starting Customize Interface 2016-07-19 17:29:08 +00:00
saksham1115
913e281980 Minor Change 2016-07-19 17:29:08 +00:00
saksham1115
19ba17d950 Subtitle built over attachments : working 2016-07-19 17:29:08 +00:00
saksham1115
74bc86732e Subtitle interface using attachments 2016-07-19 17:28:57 +00:00
saksham1115
3019306e00 Lightbox effect for images 2016-07-19 17:28:40 +00:00
saksham1115
8c36ec5246 Revert "Import messages in blog views"
This reverts commit 41302ad2b622b340caeb13339338ab3a5d0f7e6b.
2016-07-19 17:28:26 +00:00
Andrew Browning
c49e5162ca Fix #5462 - attempt to change email without login
Require an active login when accessing the form to change an email
address associated with an account. This prevents a server crash when
a user is assumed to be part of the request.
2016-07-19 00:16:48 -04:00
Christopher Allan Webber
da686c1998 Prevent erroring out in some cases of checking video metadata 2016-07-14 10:48:28 -05:00
Leah Velleman
ee828f42c5 use is_rtl variable to detect rtl locales 2016-06-20 22:16:53 -05:00
Leah Velleman
1b009a815a fixed 'older' and 'newer' arrows for rtl locales 2016-06-20 19:45:42 -05:00
Jonathan Sandoval
b2bc8e654e Include original error in debug log 2016-04-08 13:21:31 -05:00
Jonathan Sandoval
caee9aa2e3 squash! Custom exception in mail. 2016-04-08 13:17:26 -05:00
Jonathan Sandoval
d4eadc9461 Custom exception in mail. 2016-04-08 13:12:21 -05:00
Jonathan Sandoval
9d37bcd06f Mail tests with no mail server configured. 2016-04-08 13:07:06 -05:00
Jonathan Sandoval
4106eef3a4 No length check for login form 2016-04-07 16:34:00 -05:00
Jonathan Sandoval
bf2f121a83 Tests for short and long usernames. 2016-04-07 16:29:15 -05:00
Jonathan Sandoval
d756206541 Test with short and long username 2016-04-07 11:55:45 -05:00
Andrew Browning
41302ad2b6 Import messages in blog views 2016-04-03 01:10:22 -04:00
Andrew Browning
5c7b2a6381 Fix #5451 - add_message inconsistencies
Reformat add_message function calls for consistency and PEP8 line
continuations.
2016-04-02 19:59:01 -04:00
Berker Peksag
6b6d14f48a Replace raw_input with six.moves.input
Fixes #5441
2016-04-02 20:48:04 +03:00
宋文武
c7a5551fb5 Fix the blog_delete page for admins.
* mediagoblin/media_types/blog/views.py: Import WARNING from mediagoblin.messages.
2016-04-02 16:55:28 +03:00
Christopher Allan Webber
9e75d4c712 tests: Fix migration tests; foundations are now installed separately
* mediagoblin/tests/test_sql_migrations.py: Import migration.changeset
  even in python 3.
  (FOUNDATIONS): Removed.
  (test_set1_to_set3): Removed foundations checks.
2016-03-29 14:41:57 -07:00
Christopher Allan Webber
c451cd0a6a tests: importorskip migration tests on "migrate" rather than on Python 3
Previously we assumed we wouldn't run migration tests if we're on
Python 3, but now that we support sqlalchemy-migrate with Python 3,
switch to checking based on "migrate" importability.

* mediagoblin/tests/test_sql_migrations.py: Update test skipping to
  rely on "migrate" module presence rather than Python 3 check.
2016-03-29 14:27:07 -07:00
Christopher Allan Webber
fbca3074f7 Now on MediaGoblin 1.0 development cycle!
* configure.ac (AC_INIT):
* mediagoblin/_version.py (__version__): Update version to 1.0.dev.
2016-03-29 14:27:06 -07:00
Christopher Allan Webber
5d96809876 Committing extracted and compiled translations 2016-03-29 19:04:37 +00:00
Christopher Allan Webber
7e7231aa1a On MediaGoblin 0.9.0!
* configure.ac (AC_INIT):
* mediagoblin/_version.py (__version__): Update to 0.9.0.
2016-03-29 11:42:20 -07:00
Christopher Allan Webber
e47ed5c81c migrations: Only don't import "migrate" if it's not available
* mediagoblin/db/migrations.py: Import migrate if available; if not
  print a warning.
2016-03-29 09:44:34 -07:00
Christopher Allan Webber
e3cfc9a84f dbupdate: Correctly handle plugin foundations
* mediagoblin/gmg_commands/dbupdate.py (run_foundations):
  When adding a plugin's foundations, correctly append both
  the name and the foundations in a tuple to the list.
  This prevents errors.
2016-03-26 11:39:08 -07:00
Christopher Allan Webber
8b7343c611 Add comment questioning why run_dbupdate is needed in get_app test utility
* mediagoblin/tests/tools.py (get_app): Add comment
2016-03-26 11:39:08 -07:00
Christopher Allan Webber
544b7b47a1 Fix tests post-alembic-migration-changes.
* mediagoblin/init/__init__.py (setup_database): Update to run alembic
  migrations, skip the old legacy migrations.
2016-03-26 11:39:08 -07:00