Commit Graph
100 Commits
Author SHA1 Message Date
moanos b6fc5c634f feat: add debugging messages 2025-01-01 17:21:09 +01:00
moanos 0dfbd614ab fix: remove deprecated search position 2025-01-01 17:20:44 +01:00
moanos 2730ff3f51 refactor: Create shared task for post-AN stuff 2025-01-01 14:35:40 +01:00
moanos fef211b2d0 feat: Add logging 2025-01-01 14:34:38 +01:00
moanos f2e2599561 fix: Make sure that subscribed search is only checked when user is authenticated 2025-01-01 09:47:07 +01:00
moanos a9c0f628f7 refactor: remove print 2025-01-01 09:46:20 +01:00
moanos e2adb20231 feat: re-add locate to ease use 2025-01-01 09:44:56 +01:00
moanos e8b3bf6516 fix: fix general notify 2025-01-01 00:57:37 +01:00
moanos 3306f3e783 feat: Add notification for newly created ANs 2025-01-01 00:30:14 +01:00
moanos b993621773 feat: add unsubscribe functionality 2024-12-31 16:25:18 +01:00
moanos 3816290eb7 fix: Location matching logic 2024-12-31 15:40:57 +01:00
moanos 399ecf73ad feat: use location proxy to make Location search interface more intuitive 2024-12-31 15:40:33 +01:00
moanos 8e2c0e857c feat: Show subscribe/unsubscribe button depending on the user having this search already subscribed 2024-12-31 13:48:44 +01:00
moanos 3c7dcb4c51 feat: Allow location to be null in SearchSubscription 2024-12-31 13:47:38 +01:00
moanos 9e1ec1711b fix: Make Search and Search subscription are not the same if Search is not localized 2024-12-31 13:38:06 +01:00
moanos bae4ee3d22 feat: Do not show subscribe button when not yetsearched 2024-12-31 13:37:31 +01:00
moanos 280eb83056 feat: Add function to convert a search subscription to a search 2024-12-31 13:28:41 +01:00
moanos fca5879aeb test: Add tests for search equality 2024-12-31 13:28:14 +01:00
moanos 373a44c9da fix: notify only subscribers where the AN fits 2024-12-31 13:27:35 +01:00
moanos 674645c65c feat: Add string representation of search 2024-12-31 13:26:38 +01:00
moanos c2b3ff2395 refactor: Rename radius to streamline although it would be a better description 2024-12-31 13:25:43 +01:00
moanos d6740eb302 test: adjust to reflect changed field name 2024-12-31 13:14:13 +01:00
moanos 35a54474b4 test: fix name 2024-12-31 12:55:46 +01:00
moanos 6723dad4bd test: add owner to test to prevent random owner generation 2024-12-31 12:55:13 +01:00
moanos b51d04ffd1 feat: Use label in string representation 2024-12-31 12:14:04 +01:00
moanos a965f26d48 fix: use Sex choices with all 2024-12-31 11:38:52 +01:00
moanos 364a6f32f4 refactor: Typo 2024-12-31 11:35:29 +01:00
moanos 533142461a feat: Add string representation of SearchSubscriptions 2024-12-31 10:20:38 +01:00
moanos 481635ac4e feat: Add contributing doc 2024-12-31 10:18:18 +01:00
moanos be6c30cb33 feat: Add SearchSubscriptions to admin 2024-12-31 10:03:56 +01:00
moanos a617137fb0 fix: form submit must have name subscribe_to_search to trigger 2024-12-31 10:03:39 +01:00
moanos 8299162a77 formatting 2024-12-26 20:27:01 +01:00
moanos 085162d802 feat: Add is_subscribed method for searches 2024-12-26 20:24:35 +01:00
moanos 27b7e47f18 feat: Add SearchSubscriptions 2024-12-26 20:24:10 +01:00
moanos be97ac32fb refactor: Move search into class 2024-12-26 16:55:37 +01:00
moanos 9ea00655d4 refactor: Use integer choice for search 2024-12-24 10:02:08 +01:00
moanos 9fffbffdb7 feat: add FAQ section to about 2024-12-24 09:05:11 +01:00
moanos 44cf2936d1 ui: Make button more buttony 2024-12-24 09:01:13 +01:00
moanos 579f59580c feat: Redirect user to adoption notice after adding photo to an animal 2024-12-18 10:17:27 +01:00
moanos 241841bc9b feat: Redirect user to adoption notice after editing an animal 2024-12-18 10:15:00 +01:00
moanos 78a6440f63 feat: Re-add text decoration for accessibility 2024-12-17 23:02:30 +01:00
moanos 9d521b0129 feat: Set title on user page 2024-12-17 22:55:46 +01:00
moanos 39079c3c8e feat: Add fallback if first and lastname is not defined 2024-12-17 22:55:30 +01:00
moanos 999c1a81b8 feat: Restructure user page 2024-12-17 22:51:04 +01:00
moanos 5a4720c41c feat: Show "No notifications" message 2024-12-17 22:46:27 +01:00
moanos 858c6d4468 feat: Use real toggle 2024-12-17 22:46:01 +01:00
moanos 4b45b01e2a feat: Add toggle for e-mail notifications 2024-12-17 21:42:10 +01:00
moanos d0060ecf5e feat: Fully define place_not_found 2024-12-17 20:14:34 +01:00
moanos d1eeaafc42 feat: Also search for description, internal comment and location of rescue orgs
icontains is default and therefore ommitted
https://docs.djangoproject.com/en/5.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.search_fields
2024-12-17 20:14:14 +01:00
moanos 9b824bc326 feat: Automatically subscribe user that created AN to AN 2024-12-14 13:24:51 +01:00
moanos 44f05cbb7d feat: Notify all subscribers of a adoption 2024-12-14 13:03:00 +01:00
moanos 0e4e531414 feat: Add 404 deactivation to instance health check 2024-12-14 09:32:37 +01:00
moanos 6a7b3f19e9 feat: Link Adoption Notice on notification 2024-12-14 09:31:46 +01:00
moanos ec9f5b305c feat: Create notifications for 404 deactivation 2024-12-14 09:31:06 +01:00
moanos e858f61b3f feat: Translate Species 2024-12-14 08:41:00 +01:00
moanos a04270718f feat: Make announcement collapsable 2024-12-14 08:28:37 +01:00
moanos a4f895de81 feat: add admin for Base Notification 2024-12-12 06:40:11 +01:00
moanos b2d0e783be feat: make sure report flag stays in its lane
very demure, very mindful
2024-12-11 22:45:45 +01:00
moanos 4f5022e140 feat: Use card concept for about site 2024-11-30 09:37:14 +01:00
moanos 5771968981 refactor: remove unnecessary imports 2024-11-30 09:31:14 +01:00
moanos b63b87872b feat: Improve accessibility by using correct heading layer 2024-11-30 09:31:00 +01:00
moanos 1594b754cb docs: Fix api endpoint
ci/woodpecker/push/woodpecker Pipeline was successful
2024-11-25 18:36:33 +01:00
moanos 8ec27191b6 docs: Document API methods
ci/woodpecker/push/woodpecker Pipeline was successful
2024-11-25 16:27:42 +01:00
moanos c1332ee1f0 feat: Add API methods for Animals, Images, Species andRescue orgs
ci/woodpecker/push/woodpecker Pipeline was successful
2024-11-24 22:29:19 +01:00
moanos f6240a7189 Merge branch 'ui_mobile' 2024-11-24 15:58:32 +01:00
moanos 7a02774a29 feat: make menu more spaced but remove border 2024-11-24 15:58:22 +01:00
moanos 8945fdc0f4 feat: Make header without radius so that menu and header don't have hole 2024-11-24 15:50:10 +01:00
moanos 9f0a18ad91 feat: Make sure main menu is shown in the middle when enabled 2024-11-24 14:21:52 +01:00
moanos e7f26dd23a feat: integrate profile card seamlessly 2024-11-24 14:13:41 +01:00
moanos fc5b1391df feat: align items, hide unnecessary for mobile 2024-11-24 12:46:46 +01:00
moanos 70bf8e2053 feat: re-add profile card 2024-11-24 12:46:30 +01:00
moanos caf98ba60b docs: Add two endpoints
ci/woodpecker/push/woodpecker Pipeline was successful
2024-11-24 11:51:37 +01:00
moanos d7e466050a docs: remove not implemented warning 2024-11-24 11:50:34 +01:00
moanos 34b707ef20 feat: add expandable navigation, sacrifice right header for now 2024-11-24 11:30:12 +01:00
moanos 064a9bf83a feat: Streamline serializer use, check trust level, add log 2024-11-23 14:50:26 +01:00
moanos 93070a3bcd refactor: formatting 2024-11-22 21:55:25 +01:00
moanos 23c35fe7dd refactor: Naming 2024-11-22 18:50:59 +01:00
moanos d2542060a1 feat: Allow to bulk-activate ANs in the admin interface 2024-11-22 18:50:46 +01:00
moanos 89f74cb709 fix: Save date of last checked
Otherwise, ANs will get deactivated in the next night again
2024-11-22 18:50:23 +01:00
moanos ec38012ecb test: fix test by setting date of last checked correctly 2024-11-22 18:49:19 +01:00
moanos 72d45a4f47 refactor: typo 2024-11-22 18:48:57 +01:00
moanos 8de5f162eb feat:Add notification when AN is set unchecked
ci/woodpecker/push/woodpecker Pipeline was successful
2024-11-22 11:57:13 +01:00
moanos dc3859d589 test: fix search test 2024-11-22 11:56:11 +01:00
moanos b4f52c7876 fix: Save last checked correctly 2024-11-22 07:15:50 +01:00
moanos 885622e581 feat: allow not searching for location 2024-11-21 23:07:27 +01:00
moanos a42a3fa177 feat: allow search for sex 2024-11-21 22:51:15 +01:00
moanos 27541c6fb6 feat: add choice with all 2024-11-21 22:50:04 +01:00
moanos 14547ad621 fix: don't exchange set for new one 2024-11-21 22:49:00 +01:00
moanos 8d2d80c30e feat: Add intersex option for animals, fix bug 2024-11-21 20:37:38 +01:00
moanos e6f5a42d15 feat: Add intersex option for animals
Intersex rats are rare but well documented.
2024-11-21 20:35:09 +01:00
moanos 052e42f76a feat: Use text choices for sex 2024-11-21 20:29:52 +01:00
moanos 3eb7dbe984 fix: Allow all notifications to be marked as read
ci/woodpecker/push/woodpecker Pipeline was successful
2024-11-20 23:37:55 +01:00
moanos 202dfe46c2 fix: For some reason this needs width now? 2024-11-20 23:34:25 +01:00
moanos 01da0f1e29 feat: add 403 page 2024-11-20 23:23:06 +01:00
moanos 8ccdf50bc5 refactor: Use new trust level class 2024-11-20 23:08:02 +01:00
moanos d46ab8da6b feat: Show all notifications on profile 2024-11-20 23:03:02 +01:00
moanos 1dd53a87e9 feat: Notify admins of new user via notification framework #10 2024-11-20 23:02:41 +01:00
moanos 40bb2e54bd fix: Readjust trust level 2024-11-20 23:01:19 +01:00
moanos 433ad9d4b9 refactor: remove unnecessary print 2024-11-20 22:53:48 +01:00
moanos 231c27819d feat: Send e-mail notifications to user 2024-11-20 20:26:44 +01:00