Commit Graph

  • adf5436373 Update the string outputs to match our tests: newlines, ...->:, etc. Christopher Allan Webber 2012-01-29 21:45:05 -06:00
  • e920b96859 db_conn.engine -> db_conn.bind Christopher Allan Webber 2012-01-29 17:28:25 -06:00
  • bff7098a6c migrations_to_run here a list, so no reason to call it Christopher Allan Webber 2012-01-29 17:26:23 -06:00
  • be1077ac44 Migration manager's current migration should be 3, not 7, after running all migrations! Christopher Allan Webber 2012-01-29 17:23:27 -06:00
  • 505c0db119 Fixed the descriptions for the necroplex! Christopher Allan Webber 2012-01-29 17:22:29 -06:00
  • c7fa585bff assert column type from Unicode -> VARCHAR. SQLAlchemy reflection only so smart ;) Christopher Allan Webber 2012-01-29 17:21:44 -06:00
  • ecb4cc8990 printer = CollectingPrinter -> printer = CollectingPrinter() Christopher Allan Webber 2012-01-29 17:11:41 -06:00
  • 245e6d83a6 CollectingPrinter is a class, not a function! Christopher Allan Webber 2012-01-29 17:10:18 -06:00
  • 9303d47df0 self.latest_migration now a property, so we shouldn't __call__ it! Christopher Allan Webber 2012-01-29 17:08:38 -06:00
  • f98be6a65b For clarity, self.database -> self.session. Christopher Allan Webber 2012-01-29 17:07:47 -06:00
  • ef8591fdd0 Yet *another* self.database -> self.database.bind fix! Christopher Allan Webber 2012-01-29 17:06:19 -06:00
  • 396f39c3e9 Fix database_current_version for when self.migration_data is None. Christopher Allan Webber 2012-01-29 17:05:16 -06:00
  • 16d4dce9e9 another db -> db.bind fix. Christopher Allan Webber 2012-01-29 17:00:39 -06:00
  • f3791a9490 A few basic fixes to sql/util.py Christopher Allan Webber 2012-01-29 16:58:58 -06:00
  • 0f3526c601 magical_powers relationship set on wrong table, fixed Christopher Allan Webber 2012-01-29 16:48:44 -06:00
  • e8ba2223fa Also switch database_current_migration to a property Christopher Allan Webber 2012-01-29 16:40:46 -06:00
  • a5e03db6c2 Migration records are dicts, not lists. Fix SET1_MIGATIONS! Christopher Allan Webber 2012-01-29 16:39:08 -06:00
  • 47616ece50 Make latest_migration a property Christopher Allan Webber 2012-01-29 16:36:33 -06:00
  • 9a18573190 Import MigrationData, not MigrationRecord Christopher Allan Webber 2012-01-29 16:32:10 -06:00
  • e8e52b3a0b test_set1_to_set3() now has appropriate amount of code, even if it doesn't run :) Christopher Allan Webber 2012-01-29 16:07:16 -06:00
  • caed154af0 Fixing some obvious errors caught by pyflakes Christopher Allan Webber 2012-01-29 15:27:45 -06:00
  • 5de0f4daf5 More stuff even yet per sql migration stuff! And still not ready! Christopher Allan Webber 2012-01-29 14:57:42 -06:00
  • 690b51faa7 Closer to the end of this migration test... Christopher Allan Webber 2012-01-29 13:14:56 -06:00
  • 94eff10deb unicode stuff and more bits on the actual migration method Christopher Allan Webber 2012-01-29 08:58:34 -06:00
  • 40f0996ab9 A ton more work on the SQL migration unit tests... Christopher Allan Webber 2012-01-27 18:19:34 -06:00
  • 09e2c48701 Wrote up some scaffolding for the actual tests Christopher Allan Webber 2012-01-21 16:14:32 -06:00
  • dc3db4681f Insert migration objects round 3 Christopher Allan Webber 2012-01-19 21:32:37 -06:00
  • 780fdd7bd6 import changeset into sql models Christopher Allan Webber 2012-01-19 21:30:47 -06:00
  • d6cdf64b4f Wrote some (semi-silly) descriptions of each migration Christopher Allan Webber 2012-01-16 16:59:14 -06:00
  • 356654deb8 Docstrings for stage 2 migrations Christopher Allan Webber 2012-01-16 16:40:51 -06:00
  • d74a9483de Theoretical full set of migration2 objects to insert for testing Christopher Allan Webber 2012-01-16 16:22:25 -06:00
  • 64d280647c Insert migration1 objects. Also, Level1 id from Integer->Unicode Christopher Allan Webber 2012-01-16 14:39:24 -06:00
  • 248b5061ec All theoretical migrations written! Christopher Allan Webber 2012-01-15 16:43:14 -06:00
  • 473e06053c binding migration metadata to engine, and level_exits_new_table should now work Christopher Allan Webber 2012-01-15 15:43:59 -06:00
  • 89694d6d69 More test migration work. Closing to working migrations for set 2... Christopher Allan Webber 2012-01-15 14:55:07 -06:00
  • 129c36be6f Might as well call it "set2 migrations" Christopher Allan Webber 2012-01-15 11:36:00 -06:00
  • 0f10058fd3 A theoretical set of models to migrate about with, plus one migration ;) Christopher Allan Webber 2012-01-15 11:35:26 -06:00
  • cfbbdcc5ad Another db->db.engine because I'm bad at things ;) Christopher Allan Webber 2012-01-02 16:14:55 -06:00
  • 3f2c6f96c1 No need for self here (thanks again Elrond ;)) Christopher Allan Webber 2012-01-02 16:08:32 -06:00
  • dc5da0f891 Another MigrationManager fix. Christopher Allan Webber 2012-01-02 14:56:05 -06:00
  • bf81382896 Make name the primary key in migration records Christopher Allan Webber 2012-01-02 14:40:32 -06:00
  • cbf29f2d58 assert was positive when it should be negative, fixed Christopher Allan Webber 2012-01-02 14:04:16 -06:00
  • 851df6214e Use .first() instead of [0]... thanks elrond :) Christopher Allan Webber 2012-01-02 13:59:36 -06:00
  • 23f4c6b2fd We should probably add that object to the DB also :P Christopher Allan Webber 2012-01-02 13:38:08 -06:00
  • 09dcc34c95 Commit that new migration record ;) Christopher Allan Webber 2012-01-02 13:36:19 -06:00
  • b0ec21bff3 Add create_new_migration_record method to MigrationManager Christopher Allan Webber 2012-01-02 09:12:11 -06:00
  • 8bf3f63af1 Added init_tables method to MigrationManager Christopher Allan Webber 2012-01-02 08:55:25 -06:00
  • 3635ccdf34 More work on SQL MigrationManager Christopher Allan Webber 2012-01-01 16:02:14 -06:00
  • 4c86905789 Removing printer argument now that we use self.printer Christopher Allan Webber 2012-01-01 11:47:39 -06:00
  • a315962f0d Finishing the init_or_migrate function Christopher Allan Webber 2012-01-01 11:47:05 -06:00
  • 705689b96f More work on migration manager, including adding a dry run function Christopher Allan Webber 2011-12-31 08:45:41 -06:00
  • def13c549a Beginnings of the SQL migration manager Christopher Allan Webber 2011-12-29 14:44:21 -06:00
  • 70b44584ae Big ol' start of the SQL migrations system. Christopher Allan Webber 2011-12-29 11:15:55 -06:00
  • 51fba99125 Some small SQL model improvements Elrond 2012-01-28 00:33:23 +01:00
  • 8a9aa07583 Committing extracted and compiled translations Christopher Allan Webber 2012-01-29 13:47:51 -06:00
  • ef9c5bbda6 Committing present MediaGoblin translations before pushing extracted messages Christopher Allan Webber 2012-01-29 13:47:36 -06:00
  • 76d6323fff Adding a line reminding user to push up commits Christopher Allan Webber 2012-01-29 13:32:41 -06:00
  • f62b697eb2 Committing extracted and compiled translations Christopher Allan Webber 2012-01-29 13:31:47 -06:00
  • 8e5596fb1d Hm, maybe this is better... that didn't fix the stop-in-the-middle issue. Christopher Allan Webber 2012-01-29 13:30:18 -06:00
  • f4b206166e Update update_translations script to consider several things conditionally Christopher Allan Webber 2012-01-29 13:22:21 -06:00
  • de91730336 Nearly complete support for Tags Elrond 2012-01-04 22:00:44 +01:00
  • ebc0e38239 Resized a test_exif test image. 1.9M is unnecessarily large. Joar Wandborg 2012-01-28 18:53:36 +01:00
  • 3d0d3bc972 Merge remote-tracking branch 'joar/exif-rebase' Joar Wandborg 2012-01-28 18:47:01 +01:00
  • d7bec8577e Add develover sql switch Elrond 2011-12-24 16:53:32 +01:00
  • b4e877ae97 We were using translitcodec and I didn't understand how it worked ;) Christopher Allan Webber 2012-01-28 11:31:26 -06:00
  • da471f26f2 We aren't using translitcodec anymore. Kill it! Christopher Allan Webber 2012-01-28 11:13:03 -06:00
  • 3e907d5516 Let some code support "media without slug" Elrond 2012-01-22 17:11:43 +01:00
  • 9542a2ba07 JavaScript fixes - AGPL headers, etc Joar Wandborg 2012-01-28 01:31:56 +01:00
  • cd1b836ed4 Scripts and styleshets for geolocation map - Conditional Joar Wandborg 2012-01-27 02:13:07 +01:00
  • 184dbcdacc Adding previously erroneously gitignored extlib/leaflet/{lib,dist,build}/ files Joar Wandborg 2012-01-27 01:55:50 +01:00
  • a8382a3a86 Updated .gitignore due to it blacking out the extlib/leaflet/dist/ directory Joar Wandborg 2012-01-27 01:52:57 +01:00
  • 3c43cfc9f9 Move declarative_base Base into base.py Elrond 2012-01-22 20:17:43 +01:00
  • 997b419fe3 Add "mediagoblin/templates *.txt" to packaging Elrond 2012-01-26 22:14:48 +01:00
  • 10196c6811 Drop all buildout things Elrond 2012-01-26 22:10:46 +01:00
  • d595374d18 Packaging improvement by Clint Byrum from Debian/Ubuntu Elrond 2012-01-26 21:33:49 +01:00
  • cc7ca4da73 Refractored media.html template and related includes Joar Wandborg 2012-01-25 23:53:02 +01:00
  • 63bd7c04bd Acts on feedback from Chris Joar Wandborg 2012-01-25 23:05:47 +01:00
  • 6d9ce47f5c Moved EXIF to sidebar, added conditions for visibility configuration settings Joar Wandborg 2012-01-20 10:27:26 +01:00
  • 5907222c0b Added exif_visisble and geolocation_map_visible to config_spec Joar Wandborg 2012-01-20 02:31:29 +01:00
  • a180ca264e EXIF fixes Joar Wandborg 2012-01-16 03:45:58 +01:00
  • a020391d90 Removed link to EXIF.py in media_types.image Joar Wandborg 2012-01-16 03:25:57 +01:00
  • e8e444a85e EXIF extraction, geolocation map, image rotation Joar Wandborg 2012-01-10 02:59:07 +01:00
  • 836df45dbe Added code for leaflet geolocation map Joar Wandborg 2012-01-10 02:53:46 +01:00
  • 9bf7563d4c Installed EXIF.py in extlibs/ Joar Wandborg 2012-01-10 02:14:37 +01:00
  • c5ba5b0456 Installed leaflet in extlib Joar Wandborg 2012-01-10 01:54:37 +01:00
  • c47a03b909 Proper url_to_{prev,next} for SQL Elrond 2012-01-04 22:13:19 +01:00
  • 02ede85826 Create a fully functional get_comments for SQL Elrond 2012-01-02 13:07:16 +01:00
  • ee4fb8125a Canonical license URIS for CC stuff should have a trailing slash. Christopher Allan Webber 2012-01-21 17:00:42 -06:00
  • 2c1f1fd08b Show the license list in sorted form Christopher Allan Webber 2012-01-21 16:58:03 -06:00
  • da6206c4be Oops, I broke teh all rights reserved ;) Christopher Allan Webber 2012-01-21 16:56:49 -06:00
  • 5d775ebd2f Provided a SORTED_SUPPORTED_LICENSES (but keep the old unsorted dict!) Christopher Allan Webber 2012-01-21 16:51:21 -06:00
  • ac014f0424 Convert over the license field, too! Christopher Allan Webber 2012-01-21 16:41:07 -06:00
  • 2788e6a164 License "all rights reserved" default should be None/NULL, not empty string Christopher Allan Webber 2012-01-21 16:40:39 -06:00
  • 3c351460e1 Fix unit tests with new license support Elrond 2012-01-21 19:24:36 +01:00
  • c8035da197 Added migration for license field, resolved conflict in db/sql/models.py Aaron Williamson 2012-01-19 22:00:08 -05:00
  • fbad3a9fb9 Add copyright header and a bit of pep8ification Elrond 2012-01-20 00:17:05 +01:00
  • 92edc74e9b Use custom query class Elrond 2011-12-24 18:20:20 +01:00
  • 97ec97dbc7 Minor formatting and syntax fix. Aaron Williamson 2012-01-18 21:21:49 -05:00
  • 17c23e15e4 Moved get_license_data to mixin.py, added license to sql media model, added translation tags to license template. Aaron Williamson 2012-01-18 21:07:55 -05:00
  • 291e24f397 Merge branch 'mediagoblin-upstream' into feature544_basic_license_data Aaron Williamson 2012-01-18 20:40:18 -05:00