Christopher Allan Webber
4c03d45f6a
Make a mediagoblin.ini file for the user if needed.
...
This is to prevent our docs from confusing people in this
transitionary time period...
2014-10-10 19:35:09 -05:00
Christopher Allan Webber
0d063605ec
Do git submodule init and git submodule update in bootstrap.sh
...
Idea borrowed from guix bootstrap script.
If this proves to not be great we can move it :)
2014-10-10 16:27:23 -05:00
Christopher Allan Webber
03969d8521
Bring back the ascii art goblin! For python 2 anyway.
...
This does a "friendly" fallback where it skips the middleware on python 3.
2014-10-10 15:46:08 -05:00
Christopher Allan Webber
2b475821a1
Remove the paste.ini rule.
2014-10-10 14:42:18 -05:00
Christopher Allan Webber
0e58f8105f
So, we're not really using AC_CONFIG_MACRO_DIR for now.
2014-10-10 14:42:18 -05:00
Christopher Allan Webber
f0e137ab2e
Update docs: it's now ./bootstrap.sh, also, you need to get a copy of mediagoblin.ini
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
ae8d42f59c
Clarification on the mediagoblin.ini copying
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
ba12976d1a
Give a user a mediagoblin.ini if they don't have one
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
5e73017f3f
Conditionally give paste or gunicorn help
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
53463ad71d
Move paste.ini, lazystarter.sh back to the right place
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
ae361ba126
Use python imports to determine whether or not we're using gunicorn
...
This commit sponsored by Andrés Muñiz Piniella. Thank you!
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
227a81b534
Add and use paste server selector. Yeah! Smart solutions!
...
This commit sponsored by Tryggvi Björgvinsson. Thank you!
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
9bf845d88f
That's right, *append* to the list, don't call it :P
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
2e2a1aec6c
Only install gunicorn on py2
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
90c2989bd2
Also remove the include directory
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
41c6732eff
Update lazyserver to use paste or gunicorn conditionally
...
Also get rid of env.in, we're not using that for now.
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
1da574c6c9
Various makefile fixes
...
- Actually use $(PYTHON) in virtualenv creation
- Make paste.ini if need be
- distclean is more forgiving if files aren't there
- clean up virtualenvs also
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
ea2825fa10
Moving experimental-bootstrap.sh back to bootstrap.sh
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
86f89fd0b1
No rule, yet, to clean house.
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
b2624eb0fb
Users now get an editable copy of mediagoblin.example.ini->mediagoblin.ini
...
This way we no longer have people confusedly editing mediagoblin.ini
when they meant to edit mediagoblin.example.ini. Hopefully it should be
a lot simpler.
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
47aac7b051
Ignore paste.ini because it's just a symlink to the appropriate python
...
version paste
2014-10-10 14:42:16 -05:00
Christopher Allan Webber
adecace30b
Symlink the appropriate paste.ini
2014-10-10 14:42:16 -05:00
Christopher Allan Webber
65686465e7
Set USE_PYTHON3 to yes/no depending on whether --with-python3 enabled
2014-10-10 14:42:16 -05:00
Christopher Allan Webber
f8c1e11f10
No acceptable *python* could be found
2014-10-10 14:42:16 -05:00
Christopher Allan Webber
50e5332889
Moved where the python init command was
2014-10-10 14:42:16 -05:00
Christopher Allan Webber
96f9c530ea
Most of the way to having a desirable ./configure && make
setup
...
Tries to simplify a lot of the configure code. This is mostly because I
found what I expected the previous configure setup to do wasn't quite
what it was doing.
Also supports a --with-python3 option.
2014-10-10 14:42:16 -05:00
Christopher Allan Webber
9421705a70
Ignore that env file when built
2014-10-10 14:42:16 -05:00
Christopher Allan Webber
07778a69da
Continuing to iterate toward the right autoconf/make solution
2014-10-10 14:42:16 -05:00
Christopher Allan Webber
a9dc855ada
Updated MediaGoblin config stuff to latest pyconfigure release
...
Iterating towards what we want in the configure setup.
2014-10-10 14:42:16 -05:00
Jessica Tallon
ed48454558
Merge branch 'location'
...
Add Location model which holds textual, geolocation coordiantes
or postal addresses. This migrates data off Image model metadata
onto the general Location model. It also adds the ability for location
to be set on MediaEntry, User, MediaComment and Collection models.
The geolocation plugin has been updated so that the location can be displayed
in more general places rather than explicitely on the MediaEntry view.
If GPS coordiantes are set for the User the profile page will also have the
OSM provided by the geolocation plugin.
2014-10-09 19:20:13 +01:00
Jessica Tallon
c0434db469
Add location model and migrations
2014-10-09 19:16:54 +01:00
Jessica Tallon
9a1fc423ac
Merge branch '905-activities'
...
Add Activity and Generator models which allow for
activities to be created. This now works with the
feed API.
2014-10-07 10:01:38 +01:00
Jessica Tallon
2b1916182d
Add __repr__ to Activity and Generator class
2014-10-07 10:00:37 +01:00
Jessica Tallon
240e987016
Fix bug where activity.content was not populated
2014-10-06 11:48:08 +01:00
Jessica Tallon
6d36f75f84
Fix all the unit tests and clean up code
2014-10-06 11:48:03 +01:00
Jessica Tallon
670cdef79c
Fix typo in client registration API for logo_uri
2014-10-02 20:34:25 +01:00
Berker Peksag
ab46e89a65
Install ExifRead from GitHub on Python 3.
2014-10-02 21:28:37 +03:00
Berker Peksag
cca5d508ad
Add initial migration guide.
...
This can be moved to docs/source/devel/migrations.rst.
2014-10-02 20:18:29 +03:00
Berker Peksag
2ace351bed
Do not call AlembicMigrationManager.init_tables() for now.
...
sqlalchemy-migrate will do this for us.
2014-10-02 20:18:29 +03:00
Berker Peksag
b36c84e68a
Port "gmg batchaddmedia" command to Python 3.
2014-10-02 20:18:29 +03:00
Christopher Allan Webber
ce6d77aec9
Restore exif-py to tox config, for now...
2014-10-02 10:52:17 -05:00
Jessica Tallon
7e15632b5a
Fix #549 - Deauthorize OAuth applications
2014-10-01 19:45:53 +01:00
Christopher Allan Webber
36e27c4b76
Fix migrations on Python 2.
...
This commit sponsored by Loïc Grobol. Thank you!
2014-09-30 16:34:15 -05:00
Jessica Tallon
1a2982d6e3
Fix #919 - Use class names in super call not self.__class__
2014-09-30 12:50:51 +01:00
Jessica Tallon
ec84acacdc
Fix #952 - Force the footer to the bottom of the page
2014-09-30 11:23:24 +01:00
Jessica Tallon
eddb1aaf9e
Add logging to console to gunicorn
2014-09-30 09:27:53 +01:00
Jessica Tallon
ffa9346cef
Merge branch '942-default-location'
...
* 942-default-location:
Add documentation on changing data dir and Fix stylistic changes
Updated config_spec.ini to add %(data_basedir)s and make use of it!
defaults now pulled from a mashup of mediagoblin.ini and config_spec.ini
2014-09-29 09:04:30 +01:00
Jessica Tallon
11f0e2f89b
Add documentation on changing data dir and Fix stylistic changes
2014-09-29 09:04:04 +01:00
Alon Levy
becd160703
pdf tests: use our own pdf doc as GOOD_PDF
...
remove non distributable good.pdf
2014-09-26 09:31:12 -05:00
Christopher Allan Webber
a5cae60284
.gitignore celerybeat-schedule.
...
This commit sponsored by Thomas Løcke. Thank you!
2014-09-25 15:09:09 -05:00