Commit graph

194 commits

Author SHA1 Message Date
Dan DeFelippi
afff7760a2 Minor style improvements 2023-05-22 21:02:51 -03:00
Dan DeFelippi
04f40f974e Add support to register_notify_callbacks for marking notifications as read. 2023-05-22 21:02:49 -03:00
areski
2b24894432 [feat] add caching and a setting CACHE_TIMEOUT to configure the timeout 2023-05-22 20:58:49 -03:00
Alvaro Mariano
e63bd3f45f #263 Fix vunerability in views 2023-05-22 20:57:56 -03:00
Alvaro Mariano
17bdef8f77 Fix #312 2023-05-22 20:57:55 -03:00
Dan DeFelippi
f2cd89693b Minor style improvements 2023-05-22 20:57:55 -03:00
Dan DeFelippi
03696c70eb Add support to register_notify_callbacks for marking notifications as read. 2023-05-22 20:57:55 -03:00
Alvaro Leonel
bdc0219430
Merge branch 'master' into 233 2023-05-12 21:11:38 -03:00
Petr Dlouhý
35b85c1227 allow to set target proxy objects 2023-05-10 21:03:32 -03:00
Alvaro Leonel
2a7353ee34 Fix nonce attribute string compilation 2023-05-09 21:40:31 -03:00
Andrew Hall
a28c4b55f1 use older format string for backward compatibility 2023-05-09 21:40:31 -03:00
Andrew Hall
00f0c8540e integrate nonce argument into register_notify_callbacks 2023-05-09 21:40:31 -03:00
TheOneAboveAllTitan
8d82857ff4 [models] Added method to return links to related objects. 2023-05-07 19:10:09 -03:00
Alvaro Leonel
82df6b6083
Merge branch 'master' into 233 2023-05-07 17:41:35 -03:00
Igor Malinovskiy
736f641fa3
Assign copy of kwargs instead of direct reference
Make a shallow copy of kwargs and assign it to the data attribute. 
It allows overriding the save method of the model which can modify data if needed.
2022-05-18 09:44:37 -04:00
Gagan Deep
ab4011eae6
Release 1.7.0 2022-03-01 16:27:35 -03:00
Gagan Deep
0fd3f42f71
Added default auto field in application config 2021-12-20 22:38:28 -03:00
Max Wittig
d177acb26a
fix(signals): make it compatible to Django 4.X. (#323) 2021-12-19 17:48:38 -03:00
Petr Dlouhý
e8d2a251c2
Fix IE11: don't use unsupported forEach (#291) 2020-07-23 13:56:55 -05:00
TheOneAboveAllTitan
43e7fc6c6f [sample_app] Added sample app 2020-05-07 10:49:47 -05:00
TheOneAboveAllTitan
6fe8fe6678 [swapper] Removed hardlinks for Notification model #285 2020-04-12 01:21:16 +05:30
Federico Capoano
10ba3bf325 1.6.0 release 2020-02-21 16:07:15 -05:00
Hameed Gifford
9596b599ad
JSONField has updated, the patch is no longer needed. Horray! 2020-02-13 15:13:56 -05:00
Hameed Gifford
95c6a48108
Test python 3.8 and Django 3.0
Aligns the doc specs to match tested versions
2020-01-19 01:18:25 -05:00
Federico Capoano
0fba0345a7
Merge pull request #264 from noamkush/admin-prefetch-actor
Added prefetch for actor field in admin
2019-12-19 14:19:21 +01:00
Álvaro
e7f1a24c9e
Update views.py 2019-09-18 13:43:50 +02:00
Noam
afef4a251b Added prefetch for actor field in admin 2019-09-12 10:19:08 +03:00
Federico Capoano
d55aae4e3d [models] Added AbstractNotification #202
Implements and closes #102
2019-04-28 14:59:42 -04:00
Federico Capoano
c271193215
Merge pull request #246 from tuky/patch-1
add db_index to default ordering field timestamp
2019-04-26 20:10:29 -04:00
Ehmad Zubair
01e9cb97e2 fix: Compatibility with Django 2.1+ 2019-04-18 14:58:42 +05:00
Utkucan Bıyıklı
9ee95d52ac humanize_timestamp function split.Create naturalday() and naturaltime() function for humanize timestmap. 2019-03-29 15:11:06 +03:00
Utkucan Bıyıklı
8d76da3ff0 Added docstring for humanize_timestamp method 2019-03-27 00:01:21 +03:00
Utkucan Bıyıklı
64a30faef8 Added humanize for human readable notifactino timestamp 2019-03-26 23:59:09 +03:00
Tobias Krönke
1d7e3dcd43
Rename 0007_auto_20181026_0541.py to 0007_add_timestamp_index.py 2019-01-22 09:59:35 +01:00
Tobias Kroenke
3f3d947581 add generated migration 2018-10-26 13:41:06 +02:00
Tobias Krönke
d48c8215f5
add db_index to default ordering field timestamp 2018-10-26 12:23:35 +02:00
Juliano Gouveia
51677dd836 Fix url pattern alias for the re_path django recommended function 2018-06-14 12:26:19 -03:00
Juliano Gouveia
c7c1240f36 Remove duplicate url patterns by a more pythonic alternative 2018-06-14 12:26:19 -03:00
Alvaro Leonel
970a4907b3 Fix #205 Adds ListAll and CountALL endpoints 2018-06-07 23:37:51 -03:00
Alvaro Leonel
785c73a0cd Use of timezone in exemple 2018-06-07 23:02:35 -03:00
Alvaro Leonel
368e41d469 Fix #164 Add a filter to check if an user has notifications 2018-06-07 23:01:50 -03:00
Alvaro Leonel
71c7daf2f1 Improve code quality on notifications_tags.py 2018-05-31 01:13:16 -03:00
Alvaro Leonel
d8bdda1167 Improve code quality of tests/views.py 2018-05-31 01:06:14 -03:00
Alvaro Leonel
a02dea6e2a Improve code quality of tests/urls.py 2018-05-31 01:06:03 -03:00
Alvaro Leonel
54d02864b9 Improve code quality of tests.py 2018-05-31 01:05:53 -03:00
Alvaro Leonel
fa40750e8b Improve code quality of tests/settings.py 2018-05-31 01:05:44 -03:00
Alvaro Leonel
d8e71ef901 Improve code quality of notifications_tag.py 2018-05-31 01:05:28 -03:00
Alvaro Leonel
55471785fb Improve code quality on __init__.py, admin.py and apps.py 2018-05-31 00:22:43 -03:00
Alvaro Leonel
3020ec0d97 Improve code quality on models.py 2018-05-31 00:18:45 -03:00
Alvaro Leonel
e67155bc06 Improve code quality on settings.py 2018-05-31 00:05:08 -03:00