- Dec 23, 2019
-
-
aries authored
-
- Dec 01, 2019
-
-
Mathieu Brunot authored
Signed-off-by:
mathieu.brunot <mathieu.brunot@monogramm.io>
-
Mathieu Brunot authored
*
Convert LDAP username #12021 Signed-off-by:mathieu.brunot <mathieu.brunot@monogramm.io> *
Fix conversion var use Signed-off-by:mathieu.brunot <mathieu.brunot@monogramm.io> *
Fix LDAP uid conversion test Signed-off-by:mathieu.brunot <mathieu.brunot@monogramm.io> *
Remove comments with ref to PR Signed-off-by:mathieu.brunot <mathieu.brunot@monogramm.io> *
Remove unnecessary paranthesis Signed-off-by:mathieu.brunot <mathieu.brunot@monogramm.io> *
Move space in conversion string Signed-off-by:mathieu.brunot <mathieu.brunot@monogramm.io>
-
- Oct 01, 2019
-
-
Dan Hunsaker authored
-
- Aug 25, 2018
-
-
M Somerville authored
Still check for S3_CLOUDFRONT_HOST for existing installs.
-
- Mar 31, 2018
-
-
Daniel Hunsaker authored
Admins can still disable the feature by adding `ES_ENABLED=false` to their environment, if they prefer not to use it. Be sure to set the variable before you deploy!
-
- Mar 06, 2018
-
-
Daniel Hunsaker authored
Various preformance and stability enhancements for instances deployed via Nanobox.
-
- Nov 15, 2017
-
-
Daniel Hunsaker authored
Apparently I missed some things in earlier commits/releases that needed to be applied to the Nanobox setup. All minor things, nothing that breaks anything, but still best to get them in place. - Move cron jobs to their own component, so the Sidekiq component can be scaled up to multiple instances without causing issues with running the same cron job multiple times at once. - Update cron jobs to the latest requirements, removing extraneous ones - Add new variables to `.env.nanobox` - Update Nginx to use correct cache header directives
-
- Jul 06, 2017
-
-
Daniel Hunsaker authored
This PR adds automatic backups to Nanobox instances. The database, Redis, and user files are backed up every day at 03:00 (server time) to the data warehouse component which comes with every Nanobox app. Old backups are automatically cleared out, but the number of backups that are left untouched can be configured by setting the `BACKUP_COUNT` environment variable to any integer value greater than 0 (the default is 1). Also updated `.env.nanobox` to reflect the current `.env.production.sample`.
-
- May 29, 2017
-
-
Daniel Hunsaker authored
Because Nanobox doesn't run data components in the same container as the code, there are a few tweaks that need to be made in the configuration to get WebPack to work properly in development mode. The same differences lead to needing to use `DATABASE_URL` by default in the `.env` file for Rails to work correctly. Limitations of our `.env` loader for Node.js mean the `.env` file needs to be compiled everywhere in order to work, so we compile it in development, now, too. Also, all the `.env.production` tweaks have been consolidated into a single command. Finally, since Nanobox actually creates the database when it sets up the database server, using the existence of the database alone to determine whether to migrate or setup is insufficient. So we add a condition to `rake db:migrate:setup` to check whether any migrations have run - if the database doesn't exist yet, `db:setup` will be called; if it does, but no migrations have been run, `db:migrate` and `db:seed` are called instead (the same basic idea as what `db:setup` does, but it skips `db:create`, which will only cause problems with an existing DB); otherwise, only `db:migrate` is called. None of these changes should affect development, and all are designed not to interfere with existing behaviors in other environments.
-
- May 23, 2017
-
-
Daniel Hunsaker authored
* Nanobox Support - Added support for running Mastodon using Nanobox, both for local development, and for deployment to production - Dev mode tested and is working properly - Deployment is undergoing test as of this writing. If it works, this line will be amended to state success; if not, one or more subsequent commits will provide fixes. * [nanobox] Resolve Deploy Issues Everything seems to work except routing to the streaming API. Will investigate with the Nanobox staff and make fix commits if needed. Changes made: - Also need `NODE_ENV` in production - Node runs on `:4000` - Use `envsubst` to commit `.env.production` values, since `dotEnv` packages don't always support referencing other variables - Can't precompile assets after `transform` hook, but do this locally so it only has to be done once. - Rails won't create `production.log` on its own, so we do this ourselves. - Some `start` commands run from `/data/` for some reason, so use absolute paths in command arguments * [nanobox] Update Ruby version * [nanobox] Fix db.rake Ruby code style issues * [nanobox] Minor Fixes Some minor adjustments to improve functionality: - Fixed routing to `web.stream` instances - Adjust `.env.nanobox` to properly generate a default `SMTP_FROM_ADDRESS` via `envsubst` - Update Nginx configs to properly support the needed HTTP version and headers for proper functionality (the streaming API doesn't work without some of these settings in place) * [nanobox] Move usage info to docs repo * [nanobox] Updates for 1.2.x - Need to leave out `pkg-config` since Nanobox deploys without Ruby's headers - create a gem group to exclude the gem during Nanobox installs, but allow it to remain part of the default set otherwise - Update cron jobs to cover new/updated Rake tasks - Update `.env.nanobox` to include latest defaults and additions * [nanobox] Fix for nokogumbo, added in 1.3.x Apparently, nokogumbo (pulled in by sanitize, added with `OEmbed Support for PreviewCard` (#2337) - 88725d6c) tries to install before nokogiri, despite needing nokogiri available to build properly. Instruct it to use the same settings as nokogiri does when building nokogiri directly, instead of via bundler. * [nanobox] Set NODE_ENV during asset compile The switch to WebPack will rely on the local value of the NODE_ENV evar, so set it to production during asset compilation. * [nanobox] Rebase on master; update Nginx configs - `pkg-config` Gem no longer causes issues in Nanobox, so revert the Gemfile change which allowed excluding it - Update Nginx configuration files with latest recommendations from production documentation - Rebase on master to Get This Merged™ Everything should be golden!
-
- May 22, 2017
-
-
Immae authored
-
- May 20, 2017
-
-
Wonderfall authored
- improve docker_entrypoint.sh - serve static files with puma by default - sort packages list - use virtual package for build deps - show how to assign UID/GID
-
- May 19, 2017
-
-
Audun Larsen authored
Fixes #2254
-
- May 08, 2017
-
-
Jarek Lipski authored
-
- May 05, 2017
-
-
ThibG authored
* Add additional documentation and warnings to the WEB_DOMAIN setting. This feature is largely undocumented, and quite a number of users have shot them in the feet already despite the warning. Added a bit of documentation and expanded the warning until we have a mechanism for dealing with conflicting user URIs. * Change WEB_DOMAIN comments to point to the extensive online documentation
-
- May 04, 2017
-
-
abcang authored
-
- May 03, 2017
-
-
Eugen Rochko authored
connection options instead of setting REDIS_HOST etc individually Close #1986
-
- May 02, 2017
-
-
Akihiko Odaki authored
-
- Apr 19, 2017
-
-
evilny0 authored
-
Yamagishi Kazutoshi authored
-
- Apr 17, 2017
-
-
Ian Kelling authored
Without setting it, exim will reject the mail with a message like: rejected EHLO from [10.20.0.1]: syntactically invalid argument(s): {}
-
Miguel Jacq authored
* Allow using an SMTP server without authentication (e.g Postfix relay on the same host) by setting SMTP_LOGIN and SMTP_AUTH_METHOD to 'none' * Add note in .env.production.sample about SMTP settings for servers where no auth is required * Assume that SMTP_LOGIN and SMTP_PASSWORD will be blank if we set SMTP_AUTH_METHOD to none
-
geta6 authored
-
- Apr 15, 2017
-
-
Les Orchard authored
-
ThibG authored
* Allow running mastodon on a different domain as the one used for identifying users * Alter documentation of WEB_DOMAIN to make clear it shouldn't be used unless the admin knows what they are doing * Compare to web_domain instead of local_domain when dealing with feeds/API * Correctly identify mentions to local accounts Mentions URLs point to the person's web profile, i.e., the user page served on WEB_DOMAIN.
-
Valentin Lorentz authored
* Custom Paperclip path. * Document PAPERCLIP_ROOT. * Add PAPERCLIP_ROOT_URL (and rename PAPERCLIP_ROOT to PAPERCLIP_ROOT_PATH).
-
- Apr 13, 2017
-
-
James Moore authored
* delivery fix # Conflicts: # config/environments/production.rb * added stub in .env file * reordered and added a comment
-
- Apr 10, 2017
-
-
Alexander Mankuta authored
* Allow SMTP auth method customization * Add SMTP openssl_verify_mode option support Allows one use self-signed certs with their SMTP server. * Add SMTP enable_starttls_auto option support
-
- Apr 09, 2017
-
-
Eugen authored
-
- Apr 07, 2017
-
-
Jason Rhodes authored
-
Jantso Porali authored
-
Eugen Rochko authored
Setting of locale in controller extracted to Localized concern, the doorkeeper authorized applications controller moved under custom namespace with inclusion of Localized, which resolves the "it sometimes appears in a different random language" bug
-
Jason Rhodes authored
Small addition in case people want email service options, sparkpost.com gives you 100k/mo free
-
- Apr 04, 2017
-
-
Pete Keen authored
This adds the ability to filter user signup with a whitelist instead of or in addition to a blacklist. Fixes #817
-
- Mar 23, 2017
-
-
leopku authored
add support for reading S3 protocol from ENV also add S3_HOSTNAME in .env.production.sample
-
- Feb 03, 2017
-
-
Eugen Rochko authored
Make the streaming API also handle websockets (because trying to get the browser EventSource interface to work flawlessly was a nightmare). WARNING: This commit makes the web UI connect to the streaming API instead of ActionCable like before. This means that if you are upgrading, you should set that up beforehand.
-
- Jan 29, 2017
-
-
Eugen Rochko authored
-
- Dec 29, 2016
-
-
Eugen authored
-
- Dec 06, 2016
-
-
Eugen Rochko authored
-