akkoma/lib/pleroma
rinpatch c55301e760 Fix a compilation error under certain circumstances
I've noticed that sometimes when switching from develop to stable and back,
develop fails to compile and rm -r ing the _build and deps dirs doesn't
help at all.

This is due to Admin API controller needing to generate JSON description
of the config at compile time.  Evaluating `config/description.exs`
calls `Generator.list_modules_in_dir/2`, which in turn predicts the
module names of files in the directory and tries to convert the
predicted name to *existing* atoms. Sometimes the compiler will
call that function before compiling the modules in the said directory,
so the conversion will of course fail.

This fixes it by removing the requirement of the atoms being existent.
The function is not subjected to any untrusted user input so this should
be safe. An ideal fix would be to block the compilation of docs before
all modules are compiled and then get a list of compiled elixir modules
under the namespace we want instead of directory hacks, but I have not
been able to figure out how to do that.
2020-02-10 18:41:02 +03:00
..
activity exclude blocked user posts from search results 2020-01-21 07:40:13 +03:00
bbs Merge branch 'develop' into feature/fast_sanitize 2019-10-30 17:51:15 -05:00
captcha Add native captcha and enable it by default. 2019-12-12 17:39:39 +07:00
config restarting pleroma from outside application 2020-01-25 18:42:04 +03:00
conversation Fix mark-as-read (POST /api/v1/conversations/:id/read) refreshing updated_at and bringing conversation to the top in the user's direct conversation list 2020-01-05 17:38:51 +03:00
daemons [#1304] Moved all non-mutes / non-blocks fields from User.Info to User. WIP. 2019-10-16 21:59:21 +03:00
docs Fix a compilation error under certain circumstances 2020-02-10 18:41:02 +03:00
emails Merge branch 'features/task-test-email' into 'develop' 2020-01-28 16:42:57 +00:00
emoji Fix emoji tags for shareable packs to be "pack:{name}" 2019-09-25 12:34:03 +02:00
gopher use default child_specs 2019-08-14 11:55:17 -04:00
helpers [#963] No redirect on OOB OAuth authorize request with existing authorization. OAuth-related refactoring. 2019-06-12 21:30:06 +03:00
http Handle 303 redirects 2019-07-28 20:24:39 +00:00
instances [#1149] Fixed failing tests. Ensured Instance.set_unreachable/2 supports ISO 8601 datetime. 2019-08-10 20:38:31 +03:00
object Merge branch 'no-error-404' into 'develop' 2020-01-22 17:55:49 +00:00
plugs Actually fix upload limit on OTP releases 2020-02-07 20:14:06 +03:00
reverse_proxy Make MediaProxy failure tracking less brutal 2019-10-11 22:52:38 +03:00
upload added tests for Pleroma.Upload.Filter 2019-07-16 21:35:43 +00:00
uploaders Delete attachments when status is deleted 2020-01-12 18:48:58 +00:00
user Merge branch 'develop' into issue/1342 2019-12-08 21:25:26 +03:00
web Merge branch 'fix/upload-limit-otp' into 'develop' 2020-02-08 14:02:36 +00:00
workers Add test for custom base_url when deleting an attachment 2020-01-28 17:22:24 +03:00
activity.ex EmojiReactions: Rename to EmojiReacts 2020-02-06 18:09:57 +01:00
activity_expiration.ex Replace Pleroma.FlakeId with flake_id hex package 2019-09-25 17:14:31 +07:00
application.ex Warn if HTTPSecurityPlug is disabled 2020-01-28 19:14:09 +04:00
bookmark.ex Replace Pleroma.FlakeId with flake_id hex package 2019-09-25 17:14:31 +07:00
clippy.ex Fix never matching clause 2019-12-08 16:46:18 +03:00
config.ex [#1427] Fixed :admin option handling in OAuthScopesPlug, added tests. 2019-12-11 11:42:02 +03:00
constants.ex Pleroma.Constants: Fix typo. 2019-09-30 15:13:05 +02:00
conversation.ex Mark the conversations with the blocked user as read and update the blocking user's unread_conversation_count. 2019-10-26 02:29:18 +03:00
delivery.ex Replace Pleroma.FlakeId with flake_id hex package 2019-09-25 17:14:31 +07:00
ecto_enums.ex [#1335] Reorganized users.subscribers as UserRelationship. Added tests for UserRelationship-related functionality. 2019-11-20 15:46:11 +03:00
emoji-data.txt Emoji: Add function to detect if a character is an emoji 2019-09-13 02:11:02 +02:00
emoji.ex Merge remote-tracking branch 'origin/develop' into reactions 2019-09-30 13:57:54 +02:00
filter.ex Replace Pleroma.FlakeId with flake_id hex package 2019-09-25 17:14:31 +07:00
following_relationship.ex Add User.get_follow_state/2 2020-02-07 16:17:34 +04:00
formatter.ex Remove AutoLinker scheme option from the config 2020-02-05 21:13:56 +04:00
healthcheck.ex Add Pleroma.JobQueueMonitor 2019-09-26 18:49:57 +07:00
html.ex Use Pleroma.Utils.compile_dir/1 in Pleroma.HTML.compile_scrubbers/0 2019-12-10 00:38:01 +07:00
instances.ex Add license/copyright to all project files 2019-07-10 05:13:23 +00:00
job_queue_monitor.ex Remove :enqueued counter 2019-10-02 14:50:25 +07:00
jwt.ex
keys.ex tests for Pleroma.Signature 2019-07-15 13:01:22 +00:00
list.ex Fix merge 2019-09-30 19:10:54 +07:00
marker.ex add Markers /api/v1/markers 2019-10-17 15:26:59 +03:00
mime.ex
moderation_log.ex Implement report notes destruction 2019-12-08 11:27:23 +03:00
notification.ex EmojiReactions: Rename to EmojiReacts 2020-02-06 18:09:57 +01:00
object.ex Make attachments cleanup optional 2020-01-31 01:20:37 +03:00
object_tombstone.ex Add license/copyright to all project files 2019-07-10 05:13:23 +00:00
pagination.ex Merge branch 'develop' into feature/report-notes 2019-12-12 02:16:23 +03:00
password_reset_token.ex Replace Pleroma.FlakeId with flake_id hex package 2019-09-25 17:14:31 +07:00
registration.ex Replace Pleroma.FlakeId with flake_id hex package 2019-09-25 17:14:31 +07:00
release_tasks.ex Load the application before executing the create task 2019-06-22 04:33:46 +03:00
repo.ex Check for unapplied migrations on startup 2020-01-20 12:20:26 +03:00
repo_streamer.ex Rework user deletion 2019-06-24 18:59:12 +00:00
report_note.ex Implement report notes destruction 2019-12-08 11:27:23 +03:00
scheduled_activity.ex Replace Pleroma.FlakeId with flake_id hex package 2019-09-25 17:14:31 +07:00
scheduler.ex [#1149] Introduced quantum job scheduler. Documentation & config changes. 2019-08-23 18:28:23 +03:00
signature.ex Move local keys out of user.info 2019-10-06 16:56:36 +03:00
stats.ex Revert "Merge branch 'feature/status-counts-by-scope' into 'develop'" 2019-12-21 11:41:19 +00:00
thread_mute.ex Replace Pleroma.FlakeId with flake_id hex package 2019-09-25 17:14:31 +07:00
upload.ex upload.ex: Remove deprecated configuration 2019-10-18 12:34:09 +02:00
user.ex Add User.get_follow_state/2 2020-02-07 16:17:34 +04:00
user_invite_token.ex Add tests for users tasks and PleromaAuthenticator 2019-07-22 02:43:15 +00:00
user_relationship.ex update ecto 2020-01-28 10:43:47 +03:00
utils.ex Add Pleroma.Utils.compile_dir/1 2019-12-09 18:23:07 +07:00