akkoma/test/pleroma
Ilja 81afaee374 Better way of getting keys
I used keyword_list[:key], but if the key doesn't exist, it will return nil. I actually expect a list and further down the code I use that list.
I believe the key should always be present, but in case it's not, it's better to return an empty list instead of nil. That way the code wont fail further down the line.
2022-07-01 12:15:02 +02:00
..
activity Copyright bump for 2022 2022-02-25 23:11:42 -07:00
bbs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
chat Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config Better way of getting keys 2022-07-01 12:15:02 +02:00
conversation Copyright bump for 2022 2022-02-25 23:11:42 -07:00
docs Add tlsv1.3 to suggestions 2022-05-31 00:51:48 +02:00
ecto_type/activity_pub/object_validators Copyright bump for 2022 2022-02-25 23:11:42 -07:00
emails Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop' 2022-03-20 18:14:37 +00:00
emoji Copyright bump for 2022 2022-02-25 23:11:42 -07:00
gun Copyright bump for 2022 2022-02-25 23:11:42 -07:00
http Copyright bump for 2022 2022-02-25 23:11:42 -07:00
instances Copyright bump for 2022 2022-02-25 23:11:42 -07:00
integration Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mfa Copyright bump for 2022 2022-02-25 23:11:42 -07:00
migration_helper Copyright bump for 2022 2022-02-25 23:11:42 -07:00
object Copyright bump for 2022 2022-02-25 23:11:42 -07:00
password Copyright bump for 2022 2022-02-25 23:11:42 -07:00
repo/migrations Copyright bump for 2022 2022-02-25 23:11:42 -07:00
upload Rename the Exiftool module 2022-07-01 12:15:02 +02:00
uploaders Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user Copyright bump for 2022 2022-02-25 23:11:42 -07:00
web StealEmojiPolicy: fix String rejected_shortcodes 2022-05-18 21:25:10 +02:00
workers Copyright bump for 2022 2022-02-25 23:11:42 -07:00
activity_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
application_requirements_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
bookmark_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
captcha_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
chat_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
config_db_test.exs Add tlsv1.3 to suggestions 2022-05-31 00:51:48 +02:00
config_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
conversation_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
emoji_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
filter_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
following_relationship_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
formatter_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
frontend_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
hashtag_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
healthcheck_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
html_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
http_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
instances_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
job_queue_monitor_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
keys_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
list_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
marker_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
mfa_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
moderation_log_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
notification_test.exs Merge branch 'delete_report_notifs_when_demoting_from_superuser' into 'develop' 2022-03-20 18:13:19 +00:00
object_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
otp_version_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
pagination_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
registration_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
repo_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
report_note_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
reverse_proxy_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
runtime_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
safe_jsonb_set_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
scheduled_activity_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
signature_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
stats_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
upload_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_invite_token_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_relationship_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_search_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
user_test.exs Merge branch 'delete_report_notifs_when_demoting_from_superuser' into 'develop' 2022-03-20 18:13:19 +00:00
utils_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00
xml_builder_test.exs Copyright bump for 2022 2022-02-25 23:11:42 -07:00