]> git.mxchange.org Git - friendica.git/commit
rework mod/ping and desktop notification logic
authorFabrixxm <fabrix.xm@gmail.com>
Thu, 25 Jun 2015 08:02:26 +0000 (10:02 +0200)
committerFabrixxm <fabrix.xm@gmail.com>
Thu, 25 Jun 2015 08:02:26 +0000 (10:02 +0200)
commit6fc864c947f85999056657b17dae14e4cd167ecb
treedebe68ece14464449cfb877719d067026282b6dc
parente29d05ce4a2d33d03a72ac190aeab727bb0bc409
rework mod/ping and desktop notification logic

`mod/ping.php` returns all notifications ordered by date
mixing system notifications, private messages, intros, registrations
remove 'notify_full' mode
remove `&arr;` from unseen notes, 'seen' attrib now is "1" or "0"
new note attribute 'timestamp'
desktop notification logic use timestamp to check which notification show to the user
notification html template use timestamp to show full date to user in tooltip
`relative_date()` don't append full date on dates older than 24 hours
include/datetime.php
js/main.js
mod/ping.php
view/templates/nav.tpl
view/theme/duepuntozero/templates/nav.tpl
view/theme/quattro/templates/nav.tpl
view/theme/vier/templates/nav.tpl