Commit Graph
17 Commits
Author SHA1 Message Date
zunda 6c7f3854d0 [Glitch] Accept non-Latin characters to suggest hash tag
Port 72085f7d5288692f85e411916d3f0f18a3603574 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-07-22 19:00:46 +02:00
zunda dba4b37b8f Accept non-Latin characters to suggest hash tag (#39696) 2026-07-21 14:41:15 +02:00
zunda 423d0ca875 Extract text from language tagged strings for link preview (#39190) 2026-06-01 15:10:08 +00:00
zunda f69f8fbb73 [Glitch] Honor configuration.statuses.max_characters from /api/v2/instance
Port fd4a9c25dd to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2026-05-22 20:00:18 +02:00
zunda fd4a9c25dd Honor configuration.statuses.max_characters from /api/v2/instance (#39138) 2026-05-22 09:21:29 +00:00
zunda f16fbc069a Use configured limit for number of profile fields (#33463) 2025-01-06 04:47:10 +00:00
zunda 8c928faff3 Refresh Heroku related thingy for heroku-24 stack (#31135) 2024-09-03 16:03:00 +00:00
zunda a30cdfd4d4 Specify 410 for code when responding as json while self-destruction (#29420) 2024-02-26 22:43:07 +00:00
zunda b2a6386b7d [Glitch] Adjust transform origin for favorite star
Port e4e752c26e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-01-13 23:19:01 +01:00
zunda 36b46ea3b5 bundle add csv (#28671) 2024-01-10 09:37:31 +00:00
zunda e4e752c26e Adjust transform origin for favorite star (#27700) 2023-11-06 11:14:46 +00:00
zunda c0ea33e3fc Make it possible to upload audio and video to Heroku app (#24866) 2023-05-05 14:41:07 +02:00
zunda 10370d316a Remove packages that are provided by Heroku stacks (#19836) 2022-12-15 18:55:29 +01:00
zunda 09191dee66 Add single splat to callback method definitions to avoid ArgumentError (#22246)
It looks like a [bug](https://bugs.ruby-lang.org/issues/18633) around
autosplat is [fixed](https://bugs.ruby-lang.org/projects/ruby-master/repository/git/revisions/fbaadd1cfe7fbfd1b904f193f99d7c845a6ed804)
on ruby-3.2.0-rc1 and breaks a test (but not on ruby <= 3.1.3):

```
$ bundle exec rspec ./spec/controllers/api/v1/emails/confirmations_controller_spec.rb:41
  :
  1) Api::V1::Emails::ConfirmationsController#create with an oauth token from an app that created the account when the account is already confirmed but user changed e-mail and has not confirmed it returns http success
     Failure/Error:
         def email_changed(user, **)
           @resource = user
           @instance = Rails.configuration.x.local_domain

           return unless @resource.active_for_authentication?

           I18n.with_locale(locale) do
             mail to: @resource.email, subject: I18n.t('devise.mailer.email_changed.subject')
           end
         end

     ArgumentError:
       wrong number of arguments (given 2, expected 1)
     # ./app/mailers/user_mailer.rb:51:in `email_changed'
     # ./app/models/user.rb:444:in `render_and_send_devise_message'
     # ./app/models/user.rb:430:in `block in send_pending_devise_notifications'
     # ./app/models/user.rb:429:in `each'
     # ./app/models/user.rb:429:in `send_pending_devise_notifications'
     # ./spec/controllers/api/v1/emails/confirmations_controller_spec.rb:38:in `block (7 levels) in <top (required)>'
```
2022-12-13 20:03:16 +01:00
zunda 52ebfb7792 Store integer settings as integer (#19478) 2022-10-26 22:14:07 +02:00
zunda 113dd90aa3 Bump Ruby version from 3.0.3 to 3.0.4 (#18028)
https://www.ruby-lang.org/en/news/2022/04/12/ruby-3-0-4-released/
2022-08-15 04:39:58 +02:00
zunda f9e7f2e409 Avoid return within block (#17590)
This prevents the error: LocalJumpError (unexpected return)
2022-02-18 20:21:21 +01:00