583501415a
Add image resizer and some cleanup of old code
Rodney Ewing
2013-08-12 11:37:59 -07:00
af51c423fb
Fix (by Rodney Ewing) for processing, specifically the way resize_tool was being called
Christopher Allan Webber
2013-08-12 11:57:52 -05:00
916db96edb
Don't forget to run copy_original()! That's critical!
Christopher Allan Webber
2013-08-12 11:40:55 -05:00
c100b8b284
Fixing ./bin/gmg reprocess available, which I broke :)
Christopher Allan Webber
2013-08-12 11:27:43 -05:00
de332ab9f5
Trying to fix the bug that's happening to rodney757 but not to me ;)
Christopher Allan Webber
2013-08-12 11:19:20 -05:00
ff12ecef34
Revert "use parser.parse_known_args() instead of parser.parse_args()"
Christopher Allan Webber
2013-08-12 11:13:00 -05:00
98d1fa3bed
Fixing normal submission of media (well for images anyway)
Christopher Allan Webber
2013-08-12 11:00:15 -05:00
5b546d6533
A couple of fixes to stupid things I did while coding this. And it WORKS!
Christopher Allan Webber
2013-08-12 10:53:15 -05:00
7a85bf985d
Fixing the MediaProcessor context manager so it actually, you know, works :)
Christopher Allan Webber
2013-08-12 10:48:07 -05:00
5fd239fa58
Theoretically the last steps to get reprocessing working for initial & images
Christopher Allan Webber
2013-08-12 10:40:07 -05:00
eb372949a1
Factored the get_orig_filename from processing state and put it to use.
Christopher Allan Webber
2013-08-12 08:57:56 -05:00
22479c39a0
Record the original state of the media entry in the processor
Christopher Allan Webber
2013-08-12 08:22:14 -05:00
2fa7b7f81a
Marking the initial steps for processing
Christopher Allan Webber
2013-08-11 16:53:37 -05:00
55cfa34063
Renaming the processing manager stuff to be less ambiguous.
Christopher Allan Webber
2013-08-11 15:22:43 -05:00
a59f92f3ec
That manager.process() line no longer made sense
Christopher Allan Webber
2013-08-11 14:48:21 -05:00
77ea4c9bd1
Updating to the point where we can allllmost run with the new reprocessing code
Christopher Allan Webber
2013-08-11 14:34:45 -05:00
d1e9913b71
Should be enough to get to the point where you can actually initialize a processing command now.
Christopher Allan Webber
2013-08-09 17:30:52 -05:00
4ba5bdd96e
Steps toward working "run" reprocessing command.
Christopher Allan Webber
2013-08-09 16:12:06 -05:00
7a414c8d42
Moving celery setup to the right place
Christopher Allan Webber
2013-08-09 14:15:18 -05:00
19ed12b279
Whitespacin' it up.
Christopher Allan Webber
2013-08-09 14:10:52 -05:00
55a10fef0agmg reprocess available --action-help now tells you processor arguments!
Christopher Allan Webber
2013-08-09 13:56:23 -05:00
85ead8ac3c
"initial" reprocessing subcommand now works!
Christopher Allan Webber
2013-08-09 12:13:53 -05:00
58bacb33ac
More progress towards the new reprocessing infrastructure: args updating
Christopher Allan Webber
2013-08-09 11:20:21 -05:00
e4bdc9091c
More steps towards a working reprocessing system.
Christopher Allan Webber
2013-08-08 13:53:28 -05:00
274a0f67fd
Documentation for the MediaProcessor
Christopher Allan Webber
2013-08-07 17:07:19 -05:00
14565fb720
started coding basics of new processing code
Christopher Allan Webber
2013-08-07 15:01:46 -05:00
c541fb71f7
fix storage paramater in get_orig_filename(), fix __init__ for ProceessImage, better description for --size flag
Rodney Ewing
2013-08-06 10:48:26 -07:00
7ac66a3dd0
Refactor processing/reprocessing functions into ProcessImage class
Rodney Ewing
2013-08-06 09:47:09 -07:00
3988c9d66d
forgot to change to a class from a function after the refactor
Rodney Ewing
2013-08-06 09:17:37 -07:00
45b20dce1a
change get_queued_filename to get_orig_filename and modified function
Rodney Ewing
2013-08-02 15:20:59 -07:00
3e9faf85da
added comments and did a little refactoring. not sure if it is actually any clearer though
Rodney Ewing
2013-08-02 15:12:07 -07:00
49db778579
very rough working version of image reprocessing
Rodney Ewing
2013-08-02 13:18:35 -07:00
f30fbfe60c
add option to not run eagerly
Rodney Ewing
2013-08-02 12:06:50 -07:00
243756e020
added a set_media_state function. removed the --all flag (just don't enter any media_ids to process all media). slight refactor
Rodney Ewing
2013-08-01 14:47:24 -07:00
4a36407d39
Pep 8
Rodney Ewing
2013-08-01 13:53:20 -07:00
81d880b16a
Just raise standard exception. Pass print statement to gettext
Rodney Ewing
2013-08-01 13:51:36 -07:00
7c1f6a6aee
added a _run_reprocessing function which handles the hook calls
Rodney Ewing
2013-08-01 13:47:44 -07:00
6fc8aaf65f
add reprocess_all function. still need to add code to reprocess all failed entries
Rodney Ewing
2013-08-01 13:23:40 -07:00
99b34c4ce6
Added a set_media_type function that has checks to only reprocess one media_type at a time
Rodney Ewing
2013-08-01 12:35:49 -07:00
c30714805b
Beginnings of a reprocess command
Rodney Ewing
2013-08-01 12:32:49 -07:00
262c789754
Throw an error if there are unrecognized arguments
Rodney Ewing
2013-08-01 11:11:04 -07:00
aa387fc57e
use parser.parse_known_args() instead of parser.parse_args()
Rodney Ewing
2013-08-01 10:23:37 -07:00
e7c08e3550
load js at the end of the page
Rodney Ewing
2013-08-16 11:49:33 -07:00
fb2f2bece2
use urlgen
Rodney Ewing
2013-08-16 11:48:03 -07:00
f9931418d6
skip openid test if python-openid isn't installed
Rodney Ewing
2013-07-10 14:06:54 -07:00
c37f31fbf3
use new in-memory db for testing
Rodney Ewing
2013-07-10 13:56:32 -07:00
33b5cebe75
fixed some typos and missed imports
Rodney Ewing
2013-07-09 16:52:37 -07:00
f66e4282d4
moved create account link on login page to a hook
Rodney Ewing
2013-07-09 11:01:00 -07:00
547ab1d9d0
added a create_account hook
Rodney Ewing
2013-07-09 11:20:57 -07:00
bcc12142ae
only create a user if the register_form is from the ldap plugin
Rodney Ewing
2013-07-09 10:49:00 -07:00
517eb8b443
- fixed typo with unbinding code - added the ability to get the user's email from the ldap server upon registration
Rodney Ewing
2013-07-09 10:44:44 -07:00
11782c0061
- changed host and port to just a server uri - added an option to connect with TLS - unbind after when done
Rodney Ewing
2013-07-09 09:37:23 -07:00
c4513740bf
ldap uses it own views
Rodney Ewing
2013-07-08 16:36:38 -07:00