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
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
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
gopher
helpers
http
instances
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
upload
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
application.ex Warn if HTTPSecurityPlug is disabled 2020-01-28 19:14:09 +04:00
bookmark.ex
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
conversation.ex
delivery.ex
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.ex
filter.ex
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
html.ex Use Pleroma.Utils.compile_dir/1 in Pleroma.HTML.compile_scrubbers/0 2019-12-10 00:38:01 +07:00
instances.ex
job_queue_monitor.ex
jwt.ex
keys.ex
list.ex
marker.ex
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
pagination.ex Merge branch 'develop' into feature/report-notes 2019-12-12 02:16:23 +03:00
password_reset_token.ex
registration.ex
release_tasks.ex
repo.ex Check for unapplied migrations on startup 2020-01-20 12:20:26 +03:00
repo_streamer.ex
report_note.ex Implement report notes destruction 2019-12-08 11:27:23 +03:00
scheduled_activity.ex
scheduler.ex
signature.ex
stats.ex Revert "Merge branch 'feature/status-counts-by-scope' into 'develop'" 2019-12-21 11:41:19 +00:00
thread_mute.ex
upload.ex
user.ex Add User.get_follow_state/2 2020-02-07 16:17:34 +04:00
user_invite_token.ex
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