Commit Graph

154 Commits

Author SHA1 Message Date
Alex Fornuto
0e6009480a
Comment grammar fix. 2019-02-02 03:11:42 -06:00
Ryan Kelly
7b3b8579ac
Add --no-use-pep517 to pip, as a workaround for build issues. 2019-01-29 10:56:34 +11:00
Ryan Kelly
0fa45210e4
Fix formatting in README 2019-01-29 10:33:59 +11:00
Ryan Kelly
76c3fb0b36
Merge pull request #154 from captn3m0/patch-1; r=rfk
Adds instructions for persistent SQLite setup
2019-01-29 10:30:47 +11:00
Nemo
7b0a02c39b
Adds instructions for persistent SQLite setup 2019-01-26 17:54:58 +05:30
Ryan Kelly
90d8e83b3d
Update requests version dependency to silence security alert. 2018-11-02 09:12:36 +11:00
Ryan Kelly
2ed24ccad3
Merge pull request #148 from mathstuf/python2-virtualenv; r=rfk
makefile: use the system Python's virtualenv
2018-10-23 13:53:44 +11:00
Niko Wenselowski
d1eaec5da4 travis: install virtualenv 2018-10-21 10:18:10 -04:00
Ben Boeckel
a4b4eda6d0 makefile: use the system Python's virtualenv
`virtualenv` on Fedora is now a Python3 tool. Without installing
Python3, there is no `virtualenv` tool. Instead, just rely on the
package being installed.
2018-10-19 16:04:02 -04:00
Ryan Kelly
cc9e45f344
Merge pull request #141 from okin/feature/support_python_3; r=rfk
Improve support for Python 3
2018-10-11 13:01:57 +11:00
Niko Wenselowski
b70acabdca Merge branch 'master' of github.com:mozilla-services/syncserver into feature/support_python_3 2018-10-10 08:46:27 +02:00
Niko Wenselowski
dc27164a26 Improve support for Python 3.
This fixes the messages shown in #97 but does not mean there is proper Python 3 support in all used libraries.
2018-10-10 08:32:35 +02:00
Ryan Kelly
346d309868 chore(deps): Update SQLAlchemy to latest version. 2018-10-10 08:31:36 +02:00
Ryan Kelly
6d2dc6b50c
Merge pull request #142 from okin/feature/remove_obsolete_dependency
Remove unused dependency simplejson.
2018-10-08 10:42:35 +10:00
Niko Wenselowski
0a76855c68 simplejson is available as the 'json' module since Python 2.6. 2018-10-02 19:06:43 +02:00
Vlad Filippov
9c6aa91369
Merge pull request #139 from mozilla-services/feature.update-sqlalchemy
chore(deps): Update SQLAlchemy to latest version.
2018-09-27 09:01:08 -04:00
Ryan Kelly
68a4bdec9a
chore(deps): Update SQLAlchemy to latest version. 2018-09-22 07:46:10 +10:00
Ryan Kelly
21e5d68feb
Merge pull request #137 from mozilla-services/data-deletion-script; r=vladikoff
Add a script to help users delete Mozilla-hosted data.
2018-09-20 11:22:35 +10:00
Ryan Kelly
c6412eb2d1
Add a script to help users delete Mozilla-hosted data. 2018-09-20 10:38:58 +10:00
Ryan Kelly
8c4d9a75fa
fix(build): Don't update distribute during venv setup.
This seems to fail on some systems, possible because they have
an incompatible setuptools/distribute installed at the system level.
2018-09-17 11:49:07 +10:00
Thom
ff63edbc4c Fix broken links to old services docs. (#135)
AFAICT mozilla-services.readthedocs.io is where everything lives now, and docs.services.mozilla.com is busted.
2018-09-12 15:14:27 -04:00
John Morrison
a9a8d66bcd [docker-entry-point.sh] add missing backslash line continuation (#133) 2018-08-31 19:12:15 -04:00
Ryan Kelly
1935cad4ed
Merge pull request #132 from 1wilkens/forwarded-allow-ips
[docker-entrypoint.sh] Optionally handle X-Forwarded-Proto
2018-08-30 08:12:03 +10:00
Florian Wilkens
ed97a4759d
[docker-entry-point.sh] Allow docker host per default 2018-08-29 16:50:49 +02:00
Florian Wilkens
49867e15ff
[docker-entrypoint.sh] Optionally handle X-Forwarded-Proto
In the default configuration gunicorn respects the X-Forwarded-Proto HTTP header only if the connection comes from localhost.
This is not the case when e.g. running under docker where gunicorn sees the docker gateway IP causing it to disregard the header and potentially produce an error regarding the mismatch of public_url and application url.
The commandline argument --forwarded-allow-ips tells gunicorn to trust the headers if the connection originates from certain other IP addresses.
To expose this setting for docker setups of syncserver, the docker entrypoint is changed to optionally set this argument based on the environment variable SYNCSERVER_FORWARDED_ALLOW_IPS defaulting to 127.0.0.1 which mirrors the gunicorn default.
2018-08-23 11:55:12 +02:00
Ryan Kelly
4d6e0a3ab9
Fix README to reflect recent docker changes. (#130) 2018-07-22 22:21:45 -07:00
Ryan Kelly
e3885888ff
Migrate to CircleCI 2 (#129); r=jrgm 2018-07-22 21:55:11 -07:00
Ryan Kelly
7700f72424 Add ability to configure a remote browserid verifier. (#127) r=@vladikoff
We still default to using the local verifer because it's simpler,
but using a remote verifier may be necessary for e.g. testing
purposes when running on localhost.

Connects to mozilla/fxa-local-dev#112
2018-07-17 13:26:14 -04:00
Ryan Kelly
96e3b49b17
Merge pull request #123 from mozilla-services/bug-988134-port
Bug 988134: Drop the unique constraint on client_state.
2018-05-30 16:30:49 +10:00
Ryan Kelly
1549ebe62e Bug 988134: Drop the unique constraint on client_state. 2018-05-29 07:30:25 +10:00
Ryan Kelly
2865b19181
Merge pull request #119 from ACUVE/fix_dockerfile
Install libffi-dev and openssl-dev for dependencies on alpine.
2018-05-07 10:26:08 +10:00
ACUVE
830e34acb7 Install libffi-dev and openssl-dev for dependencies on alpine. 2018-05-06 14:52:48 +09:00
Ryan Kelly
34344d8b96 Prep v1.8.0 2018-05-04 14:13:07 +10:00
Ryan Kelly
b5efb9f38a Enable batch-upload API by default 2018-05-04 14:12:50 +10:00
Ryan Kelly
2497ad5c27 Use oauth-sync-enabled tokenserver, adjust config to match. 2018-05-04 13:59:13 +10:00
Ryan Kelly
48c4a5b477 Add an easy way to configure the identity provider.
Setting the SYNCSERVER_IDENTITY_PROVIDER environment variable will
cause syncserver to restrict both BrowserID and OAuth credentials
to be issued from that server.
2018-05-04 13:59:13 +10:00
Ryan Kelly
2400ef3855 Explicitly install libstdc++ for alpine linux. 2018-04-10 18:22:02 +10:00
Ryan Kelly
d0ebd930a6
Merge pull request #114 from dev-rke/patch-1
migrated Dockerfile to be based on alpine linux
2018-04-10 17:12:22 +10:00
dev-rke
e4d1758dd4
migrated Dockerfile to be based on alpine linux
The migration also solves an issue when running this service under ARM based architectures, as the previous usage of dumb-init_1.2.0_amd64 is incompatible on ARM architecture.
2018-04-10 01:30:38 +02:00
Ryan Kelly
9c42e7a25e Automatically push feature.* branches to docker hub. 2018-04-02 14:56:19 +10:00
Ryan Kelly
b482e5bad4
Merge pull request #112 from bquintanajm/update-pip
Upgrade pip when building the docker image
2018-03-19 12:19:53 +11:00
Juan Manuel
48165be231 Upgrade pip when building the docker image 2018-03-18 21:28:16 +01:00
Ryan Kelly
d03e4ece56 Upgrade pip when installing the virtualenv 2018-02-05 09:28:25 +11:00
Ryan Kelly
57f4de6773 Prep v1.7.0 2018-01-16 08:26:59 +11:00
Stanislas Bach
974249c442 Fix Docker 'run' command (#106); r=@rfk 2018-01-10 15:54:21 +11:00
Ryan Kelly
1cd91041a4 Add docs and example for allowed_issuers setting. 2018-01-10 15:43:59 +11:00
petrcech
7ce829b26b str_to_bool is returns always True (#105); r=rfk
Fix str_to_bool to return False for "false" values
2017-12-15 00:51:21 +11:00
Ryan Kelly
3d81c658f2 Add note in readme about gcc/g++ requirement for build 2017-11-27 11:11:06 +11:00
Mike Sager
095701c0cf Add SYNCSERVER_FORCE_WSGI_ENVIRON to list of configuration options that can be set via environment variables (#100); r=rfk 2017-11-15 08:03:38 +11:00
Diogo Serrano
3d2d2820a7 Fix docker automated label from readme (#98)
The existing label was using the wrong repository handle
(`jrottenberg/ffmpeg` instead of `mozilla-services/syncserver`).
2017-10-17 09:49:39 +11:00