Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-07-23 | Fix dialyzer error | Mark Felder | |
lib/pleroma/application.ex:1:pattern_match The pattern can never match the type true. | |||
2024-06-24 | RichMedia: test that activity is streamed out | Mark Felder | |
2024-06-19 | RichMedia backfill processing through Oban | Mark Felder | |
2024-06-18 | Disable Ecto logging in tests | Mark Felder | |
The debug logs are very noisy and can be enabled during analysis of a specific error believed to be SQL-related | |||
2024-06-12 | Formatting | Mark Felder | |
2024-06-12 | Tests: Don't spawn processes in tests. | Lain Soykaf | |
2024-05-28 | HTTPSignaturePlugTest: Rewrite to use mox. | Lain Soykaf | |
2024-05-27 | HTTPSecurityPlug: Fix tests | Lain Soykaf | |
2024-05-27 | HttpSecurityPlug: Don't allow unsafe-eval by default | Lain Soykaf | |
2024-05-27 | IPFSTest: Fix configuration mocking | Lain Soykaf | |
2024-05-07 | Increase the :max_body for Rich Media to 5MB | Mark Felder | |
Websites are increasingly getting more bloated with tricks like inlining content (e.g., CNN.com) which puts pages at or above 5MB. This value may still be too low. | |||
2024-05-07 | RichMedia refactor | Mark Felder | |
Rich Media parsing was previously handled on-demand with a 2 second HTTP request timeout and retained only in Cachex. Every time a Pleroma instance is restarted it will have to request and parse the data for each status with a URL detected. When fetching a batch of statuses they were processed in parallel to attempt to keep the maximum latency at 2 seconds, but often resulted in a timeline appearing to hang during loading due to a URL that could not be successfully reached. URLs which had images links that expire (Amazon AWS) were parsed and inserted with a TTL to ensure the image link would not break. Rich Media data is now cached in the database and fetched asynchronously. Cachex is used as a read-through cache. When the data becomes available we stream an update to the clients. If the result is returned quickly the experience is almost seamless. Activities were already processed for their Rich Media data during ingestion to warm the cache, so users should not normally encounter the asynchronous loading of the Rich Media data. Implementation notes: - The async worker is a Task with a globally unique process name to prevent duplicate processing of the same URL - The Task will attempt to fetch the data 3 times with increasing sleep time between attempts - The HTTP request obeys the default HTTP request timeout value instead of 2 seconds - URLs that cannot be successfully parsed due to an unexpected error receives a negative cache entry for 15 minutes - URLs that fail with an expected error will receive a negative cache with no TTL - Activities that have no detected URLs insert a nil value in the Cachex :scrubber_cache so we do not repeat parsing the object content with Floki every time the activity is rendered - Expiring image URLs are handled with an Oban job - There is no automatic cleanup of the Rich Media data in the database, but it is safe to delete at any time - The post draft/preview feature makes the URL processing synchronous so the rendered post preview will have an accurate rendering Overall performance of timelines and creating new posts which contain URLs is greatly improved. | |||
2024-03-19 | Tests: Explicitly set db pool size and max cases to the same value. | Lain Soykaf | |
2024-01-22 | Use config to control inclusion of test emoji | Mark Felder | |
2024-01-22 | Use config to control Uploader callback timeout | Mark Felder | |
2024-01-20 | Use config to control starting all HTTP pools in test env | Mark Felder | |
2024-01-20 | Use config to control streamer registry | Mark Felder | |
2024-01-20 | Use config to control background migrators | Mark Felder | |
2024-01-20 | Use config to control loading of custom modules | Mark Felder | |
2024-01-20 | Use config to control max_restarts | Mark Felder | |
2023-12-20 | Fix invalid string comparison for OTP versions and replace with config | Mark Felder | |
Old way was wrong for multiple reasons. If we do this as a config value it fixes :slave.start/3 being picked up as a compile warning on OTP26. Also if we want to do any real clustering we'll need something like this to support OTP25 and older. | |||
2023-12-20 | Fix more Logger warn -> warning | Mark Felder | |
2023-12-12 | Revert "EmailTest: use config mock" | Lain Soykaf | |
This reverts commit dca41cc4a37999a6971b70ef5e0996e528b79bf5. | |||
2023-12-12 | EmailTest: use config mock | Lain Soykaf | |
2023-12-12 | Tests: More test fixes | Lain Soykaf | |
2023-12-12 | RichMediaTest: Use mocked config | Lain Soykaf | |
2023-12-12 | ScheduledActivity: Use config mocking | Lain Soykaf | |
2023-12-11 | S3 Test: Remove global state dependencies | Lain Soykaf | |
2023-12-10 | Backup: Fix config | Lain Soykaf | |
2023-12-10 | Tests: Fix all the tests. | Lain Soykaf | |
2023-12-10 | Backup Tests: Split out async tests, use mox. | Lain Soykaf | |
2023-12-10 | Config/Test: Don't start promex during testing. | Lain Soykaf | |
2023-11-12 | B Getting: Add default implementation, delegate, prepare test support. | Lain Soykaf | |
2022-12-20 | Merge remote-tracking branch 'upstream/develop' into meilisearch | Ekaterina Vaartis | |
2022-12-15 | Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into update-deps | Lain Soykaf | |
2022-11-11 | fix envvar | lain | |
2022-11-11 | allow custom db port | Iván Raskovsky | |
2022-11-03 | Update to Phoenix 1.6 and chase dependencies | Mark Felder | |
Also bump minimum Elixir to 1.11 | |||
2022-11-03 | expanding WebFinger | Alexander Strizhakov | |
2022-10-10 | Rename Activity.Search to Search.DatabaseSearch | Ekaterina Vaartis | |
2022-10-10 | Add tests for local post indexing for meilisearch | Ekaterina Vaartis | |
2022-10-10 | Initial meilisearch implementation, doesn't delete posts yet | Ekaterina Vaartis | |
2021-05-28 | Merge branch 'plug-runtime-dev' into 'develop' | feld | |
Put Plugs in runtime mode in :dev, :test to speed up recompilation See merge request pleroma/pleroma!3411 | |||
2021-05-20 | Switch from the deprecated "use Mix.config" to "import Config" | Mark Felder | |
2021-05-19 | Put Plugs in runtime mode in :dev, :test to speed up recompilation | Alex Gleason | |
2021-02-19 | Avoid unnecessary 500ms sleeps from CommonAPI.follow when the target user is ↵ | Mark Felder | |
remote | |||
2021-01-20 | Merge branch 'deprecate-public_endpoint' into 'develop' | feld | |
Deprecate Uploaders.S3, :public_endpoint See merge request pleroma/pleroma!3251 | |||
2021-01-13 | Not needed in test.exs | Mark Felder | |
2021-01-13 | Password: Add password module | lain | |
Replaces Pbkdf2. | |||
2021-01-12 | Deprecate Pleroma.Uploaders.S3, :public_endpoint | Mark Felder | |