about summary refs log tree commit diff
path: root/lib
AgeCommit message (Collapse)Author
2018-09-17Unconditionally re-encode locally-uploaded images to strip metadata (#8714)ThibG
This strips metadata on file upload by re-encoding the files, at the cost of possible slight image quality decrease and processing resources.
2018-09-14Move more tasks to tootctl (#8675)Eugen Rochko
* Move more tasks to tootctl - tootctl feeds build - tootctl feeds clear - tootctl accounts refresh Clean up exit codes and help messages * Move user modifying to tootctl * Improve user modification through CLI, rename commands add -> create mod -> modify del -> delete To remove ambiguity * Fix code style issues * Fix not being able to unset admin/mod role
2018-09-14Misc. typos (#8694)luzpaz
Found via `codespell -q 3 --skip="./app/javascript/mastodon/locales,./config/locales"`
2018-09-10using mailto scheme in AUTHORS.md (#8663)rinsuki
2018-09-10Add rake task for generating AUTHORS.md (#8661)nightpool
* add rake task for generating AUTHORS.md * update AUTHORS.md * rubocop
2018-09-09tootctl accounts [add|del|cull] (#8642)Eugen Rochko
* CLI interface for creating/deleting local users - tootctl accounts add USERNAME - tootctl accounts del USERNAME * Add CLI interface for culling remote users that no longer exist - tootctl accounts cull
2018-09-02Bump version to 2.5.0Eugen Rochko
2018-09-01Bump version to 2.5.0rc2Eugen Rochko
2018-09-01Fix wrong string being used on login failure when using LDAP (#8534)Eugen Rochko
Fix #8527
2018-08-31Add --verbose and --dry-run option to tootctl media remove (#8519)mayaeh
* Add --verbose and --dry-run options to CLI interface for removing remote media. * Fix coding style problem.
2018-08-29Fix CLI interface for removing remote media (#8506)mayaeh
* Fix that can't delete media files even if "tootctl media remove" execute when "--background" not attached. * Revert This reverts commit 5aa7e09645b27bae38a26030148b23e553ee2662. * Change to obtain and pass all columns when "--background" option is false.
2018-08-26Add CLI task for rotating keys (#8466)Eugen Rochko
* If an Update is signed with known key, skip re-following procedure Because it means the remote actor did *not* lose their database * Add CLI method for rotating keys bin/tootctl accounts rotate [USERNAME] Generates a new RSA key per account and sends out an Update activity signed with the old key. * Key rotation: Space out Update fan-outs every 5 minutes per 1000 accounts * Skip suspended accounts in key rotation
2018-08-26Fix low-hanging rubocop gripes (#8458)Quint Guvernator
* rubocop: quit being so picky * rubocop: miscellany * rubocop: prefer present to blank
2018-08-26Fix NUM_DAYS in rake mastodon:media:remove_remote and print warning (#8462)Eugen Rochko
Remove old deprecated rake tasks
2018-08-26Add CLI interface for importing custom emoji (#8437)Eugen Rochko
bin/tootctl emoji import PATH_TO_TAR Fix #8435
2018-08-25Rename S3_CLOUDFRONT_HOST to S3_ALIAS_HOST. (#8423)M Somerville
Still check for S3_CLOUDFRONT_HOST for existing installs.
2018-08-25Add improved CLI interface for removing remote media (#8411)Eugen Rochko
./bin/tootctl media remove --days 7 --background Make the old rake task point to it
2018-08-23Bump version to 2.5.0rc1 (#8356)Eugen Rochko
2018-08-21Get rid of all batch order warnings (#8334)Eugen Rochko
2018-08-15Add ldap search filter (#8151)Immae
2018-08-13Add post-deployment migration system (#8182)Eugen Rochko
Adopted from GitLab CE. Generate new migration with: rails g post_deployment_migration name_of_migration_here By default they are run together with db:migrate. To not run them, the env variable SKIP_POST_DEPLOYMENT_MIGRATIONS must be set Code by Yorick Peterse <yorickpeterse@gmail.com>, see also: https://gitlab.com/gitlab-org/gitlab-ce/commit/83c8241160ed48ab066e2c5bd58d0914a745197c
2018-08-11Add some feedback to maintenance rake tasks (#8173)ThibG
2018-07-28Redesign public profiles and toots (#8068)Eugen Rochko
2018-07-28Resize images by area instead of fixed dimensions (#8083)Eugen Rochko
To improve the way super tall or super ride images are treated, the numbers remain the same, 1280x1280 and 400x400, but if an image is less in one dimension than the other, the other can become larger Thanks to @WAHa_06x36@mastodon.social for the tip
2018-07-14Fix static GIFs being saved as empty files when using local storage (#8012)Eugen Rochko
Fix #7997 Fix #6237
2018-07-11Bump version to 2.4.3Eugen Rochko
2018-07-11Bump version to 2.4.3rc3Eugen Rochko
2018-07-07Bump version to 2.4.3rc2Eugen Rochko
2018-07-05Bump version to 2.4.3rc1Eugen Rochko
2018-06-19Bump version to 2.4.2Eugen Rochko
2018-06-19Bump version to 2.4.2rc3Eugen Rochko
2018-06-18Bump version to 2.4.2rc2Eugen Rochko
2018-06-15Bump version to 2.4.2rc1Eugen Rochko
2018-06-10Bump version to 2.4.1Eugen Rochko
2018-06-10Bump version to 2.4.1rc4Eugen Rochko
2018-06-06Bump version to 2.4.1rc3Eugen Rochko
2018-06-05Bump version to 2.4.1rc2Eugen Rochko
2018-06-04Fix missing column in select in mastodon:feeds:build task (#7720)Eugen Rochko
2018-05-30Speed up some rake tasks by moving execution to Sidekiq (#7678)Eugen Rochko
* Speed up some rake tasks by moving execution to Sidekiq mastodon:media:remove_silenced mastodon:media:remove_remote mastodon:media:redownload_avatars mastodon:feeds:build * Fix code style issue
2018-05-30Bump version to 2.4.1rc1Eugen Rochko
2018-05-22Bump version to 2.4.0Eugen Rochko
2018-05-21Bump version to 2.4.0rc5Eugen Rochko
2018-05-19Bump version to 2.4.0rc4Eugen Rochko
2018-05-18User agent for WebFinger (#7531)MIYAGI Hikaru
* User agent for WebFinger * local_domain → web_domain * 'http' is away accidentally...
2018-05-14Bump version to 2.4.0rc3Eugen Rochko
2018-05-14Bump version to 2.4.0rc2Eugen Rochko
2018-05-06Bump version to 2.4.0rc1 (#7283)Eugen Rochko
2018-05-03Fixes/do not override timestamps (#7336)ThibG
* Revert "Fixes/do not override timestamps (#7331)" This reverts commit 581a5c9d29ef2a12f46b67a1097a9ad6df1c6953. * Document Snowflake ID corner-case a bit more Snowflake IDs are used for two purposes: making object identifiers harder to guess and ensuring they are in chronological order. For this reason, they are based on the `created_at` attribute of the object. Unfortunately, inserting items with older snowflakes IDs will break the assumption of consumers of the paging APIs that new items will always have a greater identifier than the last seen one. * Add `override_timestamps` virtual attribute to not correlate snowflake ID with created_at
2018-05-02Slightly reduce RAM usage (#7301)Eugen Rochko
* No need to re-require sidekiq plugins, they are required via Gemfile * Add derailed_benchmarks tool, no need to require TTY gems in Gemfile * Replace ruby-oembed with FetchOEmbedService Reduce startup by 45382 allocated objects * Remove preloaded JSON-LD in favour of caching HTTP responses Reduce boot RAM by about 6 MiB * Fix tests * Fix test suite by stubbing out JSON-LD contexts
2018-04-27Add support for separate Redis for cache (#7272)Eugen Rochko
* Add support for separate Redis for cache CACHE_REDIS_URL to allow using a different Redis server for cache purposes, with cache-specific configuration such as key eviction * Fix code style issues