- Aug 15, 2018
-
-
ThibG authored
-
- Aug 14, 2018
-
-
Eugen Rochko authored
-
Eugen Rochko authored
-
Eugen Rochko authored
* Move status counters to separate table, count replies * Migration to remove old counter columns from statuses table * Fix schema file
-
- Aug 13, 2018
-
-
Eugen Rochko authored
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
-
- Aug 12, 2018
-
-
Eugen Rochko authored
-
- Aug 11, 2018
-
-
ThibG authored
Include a dummy Account class in the migration script containing only the attributes relevant to the migration in order to not rely as much on the codebase being in sync with the database schema.
-
- Aug 09, 2018
-
-
Eugen Rochko authored
-
- Jul 15, 2018
-
-
Akihiko Odaki authored
-
- Jul 13, 2018
-
-
Eugen Rochko authored
* Add federation relay support * Add admin UI for managing relays * Include actor on relay-related activities * Fix i18n
-
- Jul 09, 2018
-
-
ThibG authored
* Add option to not consider word boundaries when filtering phrases * Add a few tests for keyword/phrase filtering
-
- Jun 29, 2018
-
-
Eugen Rochko authored
* Add keyword filtering GET|POST /api/v1/filters GET|PUT|DELETE /api/v1/filters/:id - Irreversible filters can drop toots from home or notifications - Other filters can hide toots through the client app - Filters use a phrase valid in particular contexts, expiration * Make sure expired filters don't get applied client-side * Add missing API methods * Remove "regex filter" from column settings * Add tests * Add test for FeedManager * Add CustomFilter test * Add UI for managing filters * Add streaming API event to allow syncing filters * Fix tests
-
- Jun 21, 2018
-
-
takayamaki authored
-
- Jun 17, 2018
-
-
Eugen Rochko authored
-
Eugen Rochko authored
* Switch filtered_languages to chosen_languages * Adjust interface * Remove unused translations
-
- Jun 15, 2018
-
-
Eugen Rochko authored
* Add autofollow option to invites * Trigger CodeClimate rebuild
-
- Jun 09, 2018
-
-
nightpool authored
* Migration to cleanup blocked users that are still following * use follow directly, commit schema
-
Eugen Rochko authored
-
- May 31, 2018
-
-
Eugen Rochko authored
* Wrong exception class: ActiveRecord::RecordNotUnique, not PG::UniqueViolation It's completely not obvious but PG::UniqueViolation is just a string inside the exception message, not the actual class of the exception * Favourite does not have target_account_id
-
Eugen Rochko authored
* Improve account index migration - Display more progress in stdout - Catch PG::UniqueViolation when re-attributing favourites - Skip callbacks and validations when re-attributing other relationships * Use in_batches to reduce table lock-up during account merge * Use #say_with_time to benchmark each deduplication
-
Eugen Rochko authored
Under rare circumstances the user record could have already been deleted before...
-
- May 30, 2018
-
-
Yamagishi Kazutoshi authored
-
Eugen Rochko authored
Fix #6937 Fix #6837 Fix #6667
-
- May 14, 2018
-
-
Akihiko Odaki authored
-
Akihiko Odaki authored
Queries with the combination of account_id, id, and visibility can be categorized in three types: 1. Querying for public and unlisted to enumerate statuses visible to anyone. 2. Querying for public, unlisted, and private to enumerate statuses visible to follower. 3. Querying for direct to enumerate own direct statuses. 1 and 2 is covered by the index with condition 'visibility IN (0, 1, 2)'. It would bring better performance in case that there are many direct statuses. The index with condition 'visibility = 3' is just for 3. It would be much faster to query direct statuses thanks to this query. The total size of those two indexes are expected to be smaller than the deleted one because they are partial and does not have to cover all the table.
-
- May 11, 2018
-
-
Eugen Rochko authored
- POST /api/v1/push/subscription - PUT /api/v1/push/subscription - DELETE /api/v1/push/subscription - New OAuth scope: "push" (required for the above methods)
-
- May 07, 2018
-
-
Eugen Rochko authored
* Store actor type in database * Add bot nameplate to web UI, add setting to preferences, API, AP Fix #7365 * Fix code style issues
-
- May 04, 2018
-
-
Eugen Rochko authored
Same URI passed between follow request and follow, since they are the same thing in ActivityPub. Local URIs are generated during creation using UUIDs and are passed to serializers.
-
- Apr 14, 2018
-
-
Eugen Rochko authored
* Add bio fields - Fix #3211 - Fix #232 - Fix #121 * Display bio fields in web UI * Fix output of links and missing fields * Federate bio fields over ActivityPub as PropertyValue * Improve how the fields are stored, add to Edit profile form * Add rel=me to links in fields Fix #121
-
- Apr 12, 2018
-
-
Yamagishi Kazutoshi authored
-
- Apr 02, 2018
-
-
Emelia Smith authored
* Implement Assignment of Reports (#6967) * Change translation of admin.report.comment.label to "Report Comment" for clarity As we'll soon add the ability for reports to have comments on them, this clarification makes sense. * Implement notes for Reports This enables moderators to leave comments about a report whilst they work on it * Fix display of report moderation notes * Allow reports to be reopened / marked as unresolved * Redirect to reports listing upon resolution of report * Implement "resolve with note" functionality * Add inverse relationship for report notes * Remove additional database querying when loading report notes * Fix tests for reports * Fix localisations for report notes / reports
-
- Mar 24, 2018
-
-
Akihiko Odaki authored
-
- Mar 04, 2018
-
-
Eugen Rochko authored
* Federate pinned statuses over ActivityPub * Display pinned toots in web UI Fix #6117 * Fix migration * Fix tests * Update outbox_serializer.rb * Update remove_serializer.rb * Update add_serializer.rb * Update fetch_featured_collection_service.rb
-
- Feb 28, 2018
-
-
Eugen Rochko authored
* Fix #2176: Federated reports * UI for federated reports * Add spec for ActivityPub Flag handler * Add spec for ReportService
-
- Feb 21, 2018
-
-
Eugen Rochko authored
* Fix #201: Account archive download * Export actor and private key in the archive * Optimize BackupService - Add conversation to cached associations of status, because somehow it was forgotten and is source of N+1 queries - Explicitly call GC between batches of records being fetched (Model class allocations are the worst offender) - Stream media files into the tar in 1MB chunks (Do not allocate media file (up to 8MB) as string into memory) - Use #bytesize instead of #size to calculate file size for JSON (Fix FileOverflow error) - Segment media into subfolders by status ID because apparently GIF-to-MP4 media are all named "media.mp4" for some reason * Keep uniquely generated filename in Paperclip::GifTranscoder * Ensure dumped files do not overwrite each other by maintaing directory partitions * Give tar archives a good name * Add scheduler to remove week-old backups * Fix code style issue
-
- Feb 07, 2018
-
-
Akihiko Odaki authored
-
- Feb 04, 2018
-
-
Eugen Rochko authored
* Cas authentication feature * Config * Remove class_eval + Omniauth initializer * Codeclimate review * Codeclimate review 2 * Codeclimate review 3 * Remove uid/email reconciliation * SAML authentication * Clean up code * Improve login form * Fix code style issues * Add locales
-
- Feb 02, 2018
-
-
Alexander authored
* add pam support, without extra column * bugfixes for pam login * document options * fix code style * fix codestyle * fix tests * don't call remember_me without password * fix codestyle * improve checks for pam usage (should fix tests) * fix remember_me part 1 * add remember_token column because :rememberable requires either a password or this column. * migrate db for remember_token * move pam_authentication to the right place, fix logic bug in edit.html.haml * fix tests * fix pam authentication, improve username lookup, add comment * valid? is sometimes not honored, return nil instead trying to authenticate with pam * update devise_pam_authenticatable2 and adjust code. Fixes sideeffects observed in tests * update devise_pam_authenticatable gem, fixes for codeconventions, fix finding user * codeconvention fixes * code convention fixes * fix idention * update dependency, explicit conflict check * fix disabled password updates if in pam mode * fix check password if password is present, fix templates * block registration if account is maintained by pam * Revert "block registration if account is maintained by pam" This reverts commit 8e7a083d650240b6fac414926744b4b90b435f20. * fix identation error introduced by rebase * block usernames maintained by pam * document pam settings better * fix code style
-
- Jan 09, 2018
-
-
takayamaki authored
-
- Jan 04, 2018
-
-
unarist authored
Migration is wrapped by transaction, so manual `commit_db_transaction` without transaction restarting causes "there is no transaction in progress" warnings. We should use `disable_ddl_transaction!` instead, if we can omit transaction completely.
-