Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-08-25 | Merge branch 'fix_erratic_tests' into 'develop' | tusooa | |
Fix flaky rate_limiter_test.exs test "it restricts based on config values" See merge request pleroma/pleroma!3688 | |||
2022-07-16 | Document way to do notice compatibility routes with Nginx reverse-proxy instead | Sean King | |
2022-07-09 | Fix rate_limiter_test.exs test "it restricts based on config values" | Ilja | |
It used a timer to sleep. But time also goes on when doing other things, so depending on hardware, the timings could be off. I slightly changed the tests so we still test what we functionally want. Instead of waiting until the cache expires I now have a function to expire the test and use that. That means we're not testing any more if the cache really expires after a certain amount of time, but that's the responsability of the dependency imo, so shouldn't be a problem. I also changed `Pleroma.Web.Endpoint, :http, :ip` to `127.0.0.1` because that's the setting people typically have, and I see no reason to do it differently. Especially since it's an exernal ip, which may come over as weird or suspicious to people. | |||
2022-05-06 | Allow to skip cache in Cache plug | Tusooa Zhu | |
Ref: fix-local-public | |||
2022-03-20 | Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' | Haelwenn | |
Translate backend-rendered pages See merge request pleroma/pleroma!3634 | |||
2022-03-03 | Lint | Tusooa Zhu | |
2022-03-03 | Support multiple locales from userLanguage cookie | Tusooa Zhu | |
2022-03-03 | Support multiple locales formally | Tusooa Zhu | |
elixir gettext current does not fully support fallback to another language [0]. But it might in the future. We adapt it so that all languages in Accept-Language headers are received by Pleroma.Web.Gettext. User.languages is now a comma-separated list. [0]: https://github.com/elixir-gettext/gettext/issues/303 | |||
2022-03-02 | Add test for fallbacking to a general language | Tusooa Zhu | |
2022-03-02 | Fallback to a variant if the language in general is not supported | Tusooa Zhu | |
For an example, here, zh is not supported, but zh_Hans and zh_Hant are. If the user asks for zh, we should choose a variant for them instead of fallbacking to default. Some browsers (e.g. Firefox) does not allow users to customize their language codes. For example, there is no zh-Hans, but only zh, zh-CN, zh-TW, zh-HK, etc. This provides a workaround for those users suffering from bad design decisions. | |||
2022-02-25 | Copyright bump for 2022 | Sean King | |
2022-02-21 | Prefer userLanguage cookie over Accept-Language header in detecting locale | Tusooa Zhu | |
https://git.pleroma.social/pleroma/pleroma-meta/-/issues/60 | |||
2021-12-27 | EnsureStaffPrivilegedPlug: add tests | Alex Gleason | |
2021-12-25 | Merge remote-tracking branch 'origin/develop' into notice-routes | Alex Gleason | |
2021-12-22 | Merge branch 'erratic-tests' into 'develop' | Alex Gleason | |
Skip erratic tests See merge request pleroma/pleroma!3572 | |||
2021-12-21 | Skip erratic tests | Alex Gleason | |
2021-12-19 | Merge branch 'manifest' into 'develop' | Alex Gleason | |
Expose /manifest.json for PWA Closes #882 See merge request pleroma/pleroma!3544 | |||
2021-12-19 | Merge remote-tracking branch 'origin/develop' into manifest | Alex Gleason | |
2021-12-15 | Merge remote-tracking branch 'origin/develop' into live-dashboard | Alex Gleason | |
2021-12-15 | Add Phoenix LiveDashboard | Alex Gleason | |
Co-authored-by: Egor Kislitsyn <egor@kislitsyn.com> | |||
2021-12-03 | Fix frontend_status_plug_test.exs | Alex Gleason | |
2021-11-24 | Merge remote-tracking branch 'pleroma/develop' into manifest | Alex Gleason | |
2021-11-24 | Expose /manifest.json for PWA | Alex Gleason | |
2021-08-06 | Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remove/mastofe | Sean King | |
2021-08-04 | Merge remote-tracking branch 'pleroma/develop' into staff-plug | Alex Gleason | |
2021-07-12 | Moderators: add UserIsStaffPlug | Alex Gleason | |
2021-06-04 | Fix merge conflicts with upstream | Sean King | |
2021-05-28 | Pleroma.Web.get_api_routes/0 --> Pleroma.Web.Router.get_api_routes/0 | Alex Gleason | |
Reduce recompilation time by breaking compile-time cycles | |||
2021-05-05 | Add notice compatibility routes for other frontends | Alex Gleason | |
Fixes: https://git.pleroma.social/pleroma/pleroma/-/issues/1785 | |||
2021-04-15 | Remove no longer necessary unit tests for MastoFE | Sean King | |
2021-02-25 | Leave a note for future explorers | Mark Felder | |
2021-02-25 | No need to filter out Mix.env() from the API routes. | Mark Felder | |
2021-02-25 | Filter out MIX_ENV from route list and add a test | Mark Felder | |
2021-02-17 | Remove `:auth, :enforce_oauth_admin_scope_usage` | rinpatch | |
`admin` scope has been required by default for more than a year now and all apps that use the API seems to request a proper scope by now. | |||
2021-01-27 | Add tests | Egor Kislitsyn | |
2021-01-27 | Merge branch 'chore/tests-use-clear_config' into 'develop' | lain | |
Convert tests to all use clear_config instead of Pleroma.Config.put See merge request pleroma/pleroma!3282 | |||
2021-01-26 | Merge branch 'service-worker-allowed-header' into 'develop' | feld | |
Ability to set custom HTTP headers per each frontend See merge request pleroma/pleroma!3247 | |||
2021-01-26 | Convert tests to all use clear_config instead of Pleroma.Config.put | Mark Felder | |
2021-01-21 | Allow to define custom HTTP headers per each frontend | eugenijm | |
2021-01-21 | Ability to set the Service-Worker-Allowed header | eugenijm | |
2021-01-18 | Merge branch 'develop' into refactor/deactivated_user_field | Mark Felder | |
2021-01-15 | Change user.confirmation_pending field to user.is_confirmed | Mark Felder | |
2021-01-15 | Change user.deactivated field to user.is_active | Mark Felder | |
2021-01-14 | Pbkdf2: Use it everywhere. | Lain Soykaf | |
2021-01-13 | Password: Replace Pbkdf2 with Password. | lain | |
2021-01-13 | Bump Copyright to 2021 | Haelwenn (lanodan) Monnier | |
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;' | |||
2020-12-21 | Test: More async/sync tweaks. | lain | |
2020-12-21 | Tests: Make as many tests as possible async. | lain | |
In general, tests that match these criteria can be made async: - Doesn't use real Cachex. - Doesn't write to the Config / Application Environment. - Uses Mock. Using Mox is fine. - Uses the streamer. | |||
2020-12-18 | Tests: Use NullCache for async tests. | lain | |
Caching can't work in async tests, so for them it is mocked to a null cache that is always empty. Synchronous tests are stubbed with the real Cachex, which is emptied after every test. | |||
2020-12-18 | Tests: Remove unneeded explicit cachex use. | lain | |
Only use cachex when we're actually testing it. |