jrconlin
755db93fcd
Revert "Fix #246 Switch to syncstorage-rs, and document the additional depend… ( #248 )"
...
This reverts commit d925321183
.
4 years ago
Donovan Preston
d925321183
Fix #246 Switch to syncstorage-rs, and document the additional depend… ( #248 )
...
* Fix #246 Switch to syncstorage-rs, and document the additional dependencies required.
4 years ago
Louis Sautier
d477ce4443
Docker: add an environment variable to activate debug logs, fixes #164
4 years ago
Ryan Kelly
6dd80f9634
Allow configuring the oauth verifier URL by env var.
4 years ago
jrconlin
9be195f2a7
bug: Bring staticnode up-to-date with tokenserver storage
4 years ago
Daniil Karandashov
3e9e557d28
fix indent
5 years ago
Daniil Karandashov
c3f51c412b
add passing secret key through file for docker swarm secrets
5 years ago
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.
6 years ago
Ryan Kelly
e3885888ff
Migrate to CircleCI 2 ( #129 ); r=jrgm
6 years ago
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
6 years ago
Ryan Kelly
1549ebe62e
Bug 988134: Drop the unique constraint on client_state.
6 years ago
Ryan Kelly
b5efb9f38a
Enable batch-upload API by default
6 years ago
Ryan Kelly
2497ad5c27
Use oauth-sync-enabled tokenserver, adjust config to match.
6 years ago
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.
6 years ago
petrcech
7ce829b26b
str_to_bool is returns always True ( #105 ); r=rfk
...
Fix str_to_bool to return False for "false" values
7 years ago
Mike Sager
095701c0cf
Add SYNCSERVER_FORCE_WSGI_ENVIRON to list of configuration options that can be set via environment variables ( #100 ); r=rfk
7 years ago
Ryan Kelly
cf944cf4c9
Update dependencies to fix LocalVerifier support ( #93 )
...
Fixes #91 , by pulling in a new version of tokenserver's LocalVerifier class that properly supports the extra "idpClaims" property that we use for tracking FxA generation numbers.
7 years ago
Ryan Kelly
72d618f3ee
Add support for deploying via dockerflow pipeline. ( #90 ) r=vladikoff
7 years ago
Ryan Kelly
7fe5c0fafc
Allow piecemeal overrides of tokenserver backend default config.
...
Before this change, you have either have to accept the default config
for the tokenserver backend, or specify all config options and hence
duplicate info from earlier in the file. With this change you can
now just specify anything you want to change and we'll use the defaults
for the rest.
7 years ago
Ryan Kelly
8e693129e6
Add ability to set pool_recycle via config.
7 years ago
Ryan Kelly
146e6e6588
Disable batch-upload API by default, it's not in production yet.
7 years ago
Ryan Kelly
35283e66fd
Prep v1.6.0
8 years ago
Ryan Kelly
c5c7de85d8
Use randomly-generated fxa.metrics_uid_secret_key for self-hosters.
8 years ago
Ryan Kelly
3aa07d7f66
Log at WARN level by default, rather than INFO
8 years ago
Louis Sautier
6182f1106d
Fix typo in exception message
8 years ago
Alain
d3c720c705
Fixed crash on sync
9 years ago
Ryan Kelly
150cef8745
Update github-hosted dependencies to latest versions
9 years ago
Ryan Kelly
a521aed39f
Use PyOpenSSL for requests module if available
9 years ago
Ryan Kelly
4a9cebf056
Use gunicorn rather than pserve
9 years ago
Ryan Kelly
c4c0fa033a
Add "force_wsgi_environ" config option.
...
This is the nuclear option for when your reverse proxy setup doesn't
place nicely with our request-signing thing - it causes the app to
unilaterally clobber its WSGI environment with values from public_url.
9 years ago
Ryan Kelly
24dbda8f41
Forcibly update host_port if it seems wrong in the environ
9 years ago
Ryan Kelly
d95c1e6a4f
Use pool_recycle when connecting to a mysql db
10 years ago
Ryan Kelly
e977089cf9
Fix flake
10 years ago
Ryan Kelly
2d7b87643b
Make public_url-mismatch into a hard error.
10 years ago
Ryan Kelly
8441444ce9
Sanity-check public_url on each incoming request.
10 years ago
Ryan Kelly
069804f077
Update to use new simplified mozsvc.metrics infrastructure
10 years ago
Ryan Kelly
28851e3c22
Ensure that default "audience" URL has no path component.
10 years ago
Ryan Kelly
0ee5588101
Expose tokenserver's allow_new_users setting at top-level server config.
10 years ago
Ryan Kelly
02d3cfdc3b
Intuit correct SCRIPT_NAME setting from public_url
10 years ago
Dan Callahan
8bec3e9702
Fixup a comment, suppress logging during tests
...
- Commit 947470d771
rendered a comment inaccurate
in syncserver/__init__.py.
- Logging to stdout by default obscures test results; disable the stdout deluge
by changing the logging class in syncserver/tests.ini
10 years ago
Ryan Kelly
d349bdc76a
Update to match latest tokenserver API.
10 years ago
Dan Callahan
947470d771
Log to stdout by default
10 years ago
Ryan Kelly
4b7cab5bd5
Copy db connection pool tweaks from syncstorage.
10 years ago
Ryan Kelly
62526d1625
Default to tokenserver.monkey_patch_gevent = False
10 years ago
Ryan Kelly
ad4afc0ed5
Use a persistent sqlite db by default, rather than in-memory one.
10 years ago
Ryan Kelly
7d3a1a7d04
Add missing "staticnode" file
10 years ago
Ryan Kelly
7603ab1856
Add a simple static node assignment backend, for easier deployment.
10 years ago
Ryan Kelly
d0d47fae3b
Initial commit; refactored from server-full2 codebase
10 years ago