PieterCK
068ab6e11e
avatar: Add checks to make sure system bot avatar exists.
...
This commit introduces an assertion to verify that the avatar file for
system bots exists and findable.
In development, it'll assert that the avatar file exists in the static
directory. This isn't done in production environment to avoid
unnecessary overhead. It helps verify that the protocol to fetch system
bot avatars still works when making changes during development.
In production it'll check if the avatar file exists in the STATIC_ROOT
and return a default avatar png if it doesn't.
2024-10-23 10:35:42 -07:00
..
2024-10-11 17:00:23 -07:00
2024-07-24 09:56:42 -07:00
2024-10-01 17:35:14 -07:00
2024-10-20 18:16:27 -07:00
2024-09-09 11:55:46 -07:00
2024-07-13 22:28:22 -07:00
2024-02-29 17:07:16 -08:00
2024-07-13 22:28:22 -07:00
2024-09-23 18:09:38 -07:00
2024-08-20 10:15:30 -07:00
2024-08-28 13:57:57 -07:00
2024-10-11 17:00:23 -07:00
2024-09-30 11:35:45 -07:00
2024-07-13 22:28:22 -07:00
2024-06-26 16:48:18 -07:00
2024-07-13 22:28:22 -07:00
2024-09-09 12:40:17 -07:00
2024-09-30 11:58:31 -07:00
2024-07-14 13:48:32 -07:00
2024-10-01 17:35:14 -07:00
2024-10-03 16:35:45 -07:00
2024-10-18 14:08:20 -07:00
2024-07-13 22:28:22 -07:00
2024-07-14 13:48:32 -07:00
2024-07-13 22:28:22 -07:00
2024-10-16 14:26:20 -07:00
2024-05-02 14:23:04 -07:00
2024-10-11 16:31:18 -07:00
2024-07-13 22:28:22 -07:00
2024-05-14 16:17:44 -07:00
2024-09-20 12:02:39 -07:00
2024-07-16 23:29:02 -07:00
2024-10-04 12:06:35 -07:00
2024-09-09 15:59:02 -07:00
2024-10-11 17:00:23 -07:00
2024-10-15 16:04:43 -07:00
2024-10-07 11:35:06 -07:00
2024-07-13 22:28:22 -07:00
2024-07-14 13:48:32 -07:00
2024-10-01 17:35:14 -07:00
2024-10-07 11:00:40 -07:00
2024-08-19 10:14:49 -07:00
2024-10-16 14:26:18 -07:00
2024-10-16 14:26:18 -07:00
2024-10-11 17:00:23 -07:00
2024-10-01 17:35:14 -07:00
2024-04-24 14:35:05 -07:00
2024-08-23 11:09:41 -07:00
2024-07-13 22:28:22 -07:00
2024-03-19 18:22:24 -04:00
2024-07-13 22:28:22 -07:00
2024-09-09 11:50:13 -07:00
2024-07-13 22:28:22 -07:00
2024-10-10 11:37:44 -07:00
2024-10-09 18:12:55 -07:00
2024-10-07 11:00:40 -07:00
2024-09-24 19:27:21 -07:00
2024-07-13 22:28:22 -07:00
2024-10-11 17:00:23 -07:00
2024-09-10 13:15:35 -07:00
2024-10-11 17:00:23 -07:00
2024-07-14 13:48:32 -07:00
2024-07-13 22:28:22 -07:00
2024-07-13 22:28:22 -07:00
2024-09-20 15:20:18 -07:00
2024-07-04 07:56:31 -07:00
2023-12-16 22:08:44 -08:00
2024-10-13 16:09:04 -07:00
2024-10-04 12:06:35 -07:00
2024-09-09 11:50:13 -07:00
2023-12-16 22:08:44 -08:00
2024-10-16 14:26:20 -07:00
2024-08-20 10:03:22 -07:00
2024-10-07 11:35:06 -07:00
2024-10-17 12:25:18 -07:00
2024-09-24 15:27:58 -07:00
2024-10-04 14:22:37 -07:00
2024-08-20 11:53:24 -07:00
2024-07-14 13:48:32 -07:00
2024-09-10 12:50:28 -07:00
2024-07-13 22:28:22 -07:00
2024-09-03 16:34:55 -07:00
2024-09-30 11:58:31 -07:00
2024-10-15 16:04:43 -07:00
2024-07-13 22:28:22 -07:00
2024-09-09 11:50:13 -07:00
2024-07-13 22:28:22 -07:00
2024-09-20 15:20:18 -07:00
2024-10-11 17:00:23 -07:00
2024-08-13 22:36:35 -07:00
2024-09-17 12:51:30 -07:00
2024-04-18 11:50:38 -07:00
2024-07-13 22:28:22 -07:00
2024-07-13 22:28:22 -07:00
2024-07-12 13:26:47 -07:00
2024-10-15 13:30:29 -07:00
2024-08-15 13:31:40 -07:00
2024-07-20 15:46:48 -07:00
2024-09-05 16:02:12 -07:00
2024-07-14 13:48:32 -07:00
2024-09-26 12:01:11 -07:00
2024-09-26 12:01:11 -07:00
2024-10-23 10:35:42 -07:00
2024-06-17 10:42:32 -07:00
2024-09-24 18:17:52 -07:00
2024-10-22 10:23:36 -07:00
2024-07-31 22:33:52 -07:00
2024-09-24 14:32:42 -07:00
2024-10-22 16:36:38 -07:00
2024-09-05 16:02:12 -07:00
2024-07-13 22:28:22 -07:00
2024-07-13 22:28:22 -07:00
2024-06-30 22:45:26 -07:00
2024-07-13 22:28:22 -07:00
2024-07-04 07:56:31 -07:00