Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | modified gmg to use plugin media_types and converted image media_type to new ↵ | Rodney Ewing | 2013-07-02 | 1 | -9/+1 |
| | | | | plugin style | ||||
* | moved bcrypt_gen_password_hash to basic_auth/tools and added ↵ | Rodney Ewing | 2013-05-24 | 1 | -3/+3 |
| | | | | gen_password_hash function to auth/__init__ | ||||
* | Cleaning a bit: os.path.sep.join -> os.path.join | Christopher Allan Webber | 2013-05-23 | 1 | -2/+2 |
| | |||||
* | docstring update: link theme... and plugins! | Christopher Allan Webber | 2013-05-23 | 1 | -1/+1 |
| | |||||
* | Generalize "gmg theme assetlink" -> "gmg assetlink" and cover both theme and ↵ | Christopher Allan Webber | 2013-05-23 | 2 | -52/+29 |
| | | | | | | | | | plugins We've moved the module... probably I'll re-add theme just to give a warning that this is deprecated. This commit sponsored by Kevin Williams. Thank you! | ||||
* | Various fixes to plugin assetlinking command. | Christopher Allan Webber | 2013-05-23 | 1 | -5/+5 |
| | | | | | | | Actually trying to run the command helps figure out what needs to be fixed :) This commit sponsored by Justin Nichol. Thank you! | ||||
* | Work towards getting plugin static linking/serving to work | Christopher Allan Webber | 2013-05-23 | 1 | -7/+63 |
| | | | | | | | | | - add link_plugin_assets. For now, incorrectly running from ./bin/gmg theme assetlink... uh, will fix ;) - Update paste and config_spec.ini configs to handle the locations and serving of the plugins' static resources This commit sponsored by Marko Dimjašević. Thank you! | ||||
* | Fixing bug in dbupdate where it would explode on plugin that is missing ↵ | Christopher Allan Webber | 2013-05-16 | 1 | -0/+2 |
| | | | | | | | | | | | MODELS or MIGRATIONS The reason it blew up was because in the latter caught exception, it wouldn't set models/migrations to an empty set, so it would actually use the previous run's models/migrations! That's what we get for "leaky" variables on python for loops :) This commit sponsored by Pascal Diogo Antunes. Thank you! | ||||
* | Switch "sqlite_refcheck" keyword arg to "migrations" which Elrond thinks is ↵ | Christopher Allan Webber | 2013-04-26 | 1 | -1/+1 |
| | | | | | | cleaner Also, if migrations is true, *explicitly* say that foreign key checking is off | ||||
* | Don't turn on sqlite refcheck stuff during migrations | Christopher Allan Webber | 2013-04-26 | 1 | -1/+1 |
| | |||||
* | Switching non-forms back to using normal pass_to_ugettext | Christopher Allan Webber | 2013-04-24 | 1 | -1/+1 |
| | |||||
* | Fix-bug-667-Use-lazy_pass_to_ugettext-for-forms. | Aditi Mittal | 2013-04-24 | 1 | -1/+1 |
| | |||||
* | Move db.sql.migration_tools to db.migration_tools. | Elrond | 2013-01-08 | 1 | -1/+1 |
| | | | | Follow the new trend. | ||||
* | Move all the migration tools into new migration_tools.py | Elrond | 2013-01-08 | 1 | -1/+1 |
| | | | | | | | | | Factor all the migration related stuff out into a new .db.sql.migration_tools. First we don't have to load this module for our normal server. Second it makes all the import dependencies a little more cleaner. | ||||
* | Move db.sql.models* to db.models* | Sebastian Spaeth | 2013-01-07 | 1 | -1/+1 |
| | |||||
* | Move db.sql.util to db.util | Sebastian Spaeth | 2013-01-07 | 1 | -1/+1 |
| | | | | | | | | Now that sqlalchemy is providing the database abstractions, there is no need to hide everything in db.sql. sub-modules. It complicates the code and provides a futher layer of indirection. Move the db.sql.util.py to db.util.py and adapt the importers. | ||||
* | Move db.sql.migrations to db.migrations | Sebastian Spaeth | 2012-12-25 | 1 | -1/+1 |
| | |||||
* | Move db.sql.open to db.open | Sebastian Spaeth | 2012-12-25 | 1 | -1/+1 |
| | | | | | | Now that mongo has been ripped out and sqlalchemy is already providing the database abstraction, there is no need to hide everything in the sql module. Transition db.sql.open to db.open and adapt all direct importers. | ||||
* | RIP out mongo | Sebastian Spaeth | 2012-12-25 | 5 | -116/+3 |
| | | | | | | | | | Since sqlalchemy is providing our database abstraction and we have moved away from Mongo as the underlying database, it is now time to simplify things and rip out mongo. This provides the bulk of the changes, and can stand on its own. There are some followup tasks that can be done, such as removing now unneeded abstraction layers, e.g. db.sql.fake.py | ||||
* | Mongo removal: Remove the validate=True arg to obj.save() | Elrond | 2012-12-24 | 1 | -1/+1 |
| | | | | | all callers were forced to use validate=True anyway. So remove this useless stuff. | ||||
* | Try ipython-based shell first, falling back to plain shell | Sebastian Spaeth | 2012-12-19 | 1 | -9/+8 |
| | | | | Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de> | ||||
* | makeadmin and changepasswd had swapped help text | Christopher Allan Webber | 2012-12-18 | 1 | -2/+2 |
| | |||||
* | Fixed tests | Joar Wandborg | 2012-09-15 | 1 | -1/+1 |
| | | | | | - Adapt tests to new global_config arg for run_dbupdate - Account for [plugins] not being set in config | ||||
* | Add OAuth models, plugin DB migrations, api_auth | Joar Wandborg | 2012-09-13 | 1 | -4/+42 |
| | |||||
* | replaced os.path.split()[0] with os.path.dirname() and corrected a couple of ↵ | Aleksej | 2012-08-13 | 1 | -1/+1 |
| | | | | comments | ||||
* | Duplication of rstrip unnecessary in link_assets function | Christopher Allan Webber | 2012-08-12 | 1 | -1/+1 |
| | | | | Thanks for catching AVRS! | ||||
* | Setup the scaffolding for theme installing, but it doesn't work yet | Christopher Allan Webber | 2012-07-14 | 1 | -2/+4 |
| | |||||
* | Break the asset linking code off into a reusable function | Christopher Allan Webber | 2012-07-14 | 1 | -30/+50 |
| | | | | In the future, the install command should be able to use that as well. | ||||
* | asset linking command now works | Christopher Allan Webber | 2012-07-14 | 1 | -7/+26 |
| | |||||
* | Start of the `./bin/gmg theme assetlink` command. | Christopher Allan Webber | 2012-07-14 | 2 | -0/+87 |
| | | | | Mostly works but doesn't handle all the places it could break. | ||||
* | Make sure MigrationManagers always get Unicode names. | Brett Smith | 2012-07-04 | 1 | -1/+1 |
| | | | | | If we fail to do this, SQLAlchemy complains that we're binding a non-Unicode value to a Unicode column. | ||||
* | Fix problems from pyflakes output | Will Kahn-Greene | 2012-06-03 | 2 | -6/+3 |
| | |||||
* | Deprecate ./bin/gmg migrate. | Christopher Allan Webber | 2012-04-29 | 2 | -6/+8 |
| | | | | | Keeping it around just in case someone manually wants to migrate before running the convert thing or... something. Probably silly. | ||||
* | Removing wipealldata command and deleting env_export/env_import for now. | Christopher Allan Webber | 2012-04-29 | 2 | -71/+14 |
| | | | | | | None of these tools really work anymore in the SQL world, and possibly aren't as necessary either. In the meanwhile, just disabling them to reduce confusion. | ||||
* | gmg env_import shouldn't crash on unicode ... | Joar Wandborg | 2012-04-02 | 1 | -1/+1 |
| | | | | characters in media titles | ||||
* | SQL based tests and refactored Celery setup stuff | Christopher Allan Webber | 2012-03-26 | 1 | -2/+6 |
| | | | | | | - Changed config files of test configs to use SQL - Updated celery initialization tools, factored them to be able to use the "big instance" application stuff | ||||
* | Wipe the configured database, not the default one | Jakob Kramer | 2012-03-24 | 1 | -2/+6 |
| | |||||
* | mongo->sql conversion script now runs mongo migrations first, just in case | Christopher Allan Webber | 2012-03-17 | 2 | -2/+11 |
| | |||||
* | Mongosql imports made celery get set up before we wanted it via ./bin/gmg ↵ | Christopher Allan Webber | 2012-03-17 | 1 | -2/+1 |
| | | | | | | commands Just moved the import into the actual function. That resolved the issue! | ||||
* | Removing an unnecessary line of whitespace AND crediting Hugo Boyer for the ↵ | Christopher Allan Webber | 2012-03-14 | 1 | -1/+0 |
| | | | | | | ipython code! Thanks Hugo Boyer! I forgot to credit you in my last commit. | ||||
* | ipython support in ./bin/gmg shell! | Christopher Allan Webber | 2012-03-14 | 1 | -8/+37 |
| | |||||
* | Create "gmg convert_mongo_to_sql" command | Elrond | 2012-02-23 | 2 | -0/+29 |
| | | | | | | | | | Finally, to make testing of sql a bit easier, create a bin/gmg command to do the conversion from mongo to sql. It's currently named "convert_mongo_to_sql". The most important option is the gmg -cf option to give a configfile with the appropiate sql_engine definition. | ||||
* | Updates so that dbupdate command works | Christopher Allan Webber | 2012-02-18 | 2 | -6/+15 |
| | | | | | | - Various fixes to dbupdate itself - Switching db/sql/migrations.py to use a dict instead of a list - Registering the function | ||||
* | Merge branch 'master' into sqlmigrate | Christopher Allan Webber | 2012-02-18 | 7 | -7/+7 |
|\ | | | | | | | | | Conflicts: mediagoblin/db/sql/models.py | ||||
| * | It's 2012 all up in here | Christopher Allan Webber | 2012-02-02 | 7 | -7/+7 |
| | | |||||
* | | No need for self here (thanks again Elrond ;)) | Christopher Allan Webber | 2012-01-29 | 1 | -1/+1 |
| | | |||||
* | | Big ol' start of the SQL migrations system. | Christopher Allan Webber | 2012-01-29 | 1 | -0/+84 |
|/ | | | | Things definitely don't work yet, but should be heading in the right direction. | ||||
* | Dot-Notation for MediaEntry.media_files | Elrond | 2012-01-04 | 1 | -2/+2 |
| | |||||
* | Fix "bin/gmg migrate" after mongo move | Elrond | 2011-12-28 | 1 | -2/+2 |
| | | | | | | | When moving most stuff from db to db/mongo, "gmg migrate" was left out. Fix it now! | ||||
* | Fixed import_export | Joar Wandborg | 2011-12-15 | 1 | -5/+5 |
| | | | | | - Mongokit instead of pymongo - db.MediaEntry instead of db.media_entry (pymongo style) |