gnu-social/lib/modules/Realtime
Alexei Sorokin 06dfd91a82 Various fixes
Fix OAuth and Realtime issues introduced in 9a515b9234

[DATABASE] Fix an empty default value mistake introduced in
fde929b151

[DATABASE][PostgreSQL] Avoid use of pg_constraint.consrc, which was removed in
PostgreSQL 12.

[DATABASE][MariaDB] Fix a typo introduced in aed2344bd4

[DAEMON] Wrap an assignment inside "switch":
a follow-up to adc689cb15
2020-10-11 18:29:47 +03:00
..
actions Set HTTP status codes with http_​response_​code() 2020-08-04 14:12:17 +03:00
classes Various fixes 2020-10-11 18:29:47 +03:00
locale [REALTIME] Reviewed both the superclass and its dist plugins 2019-11-03 15:37:49 +00:00
scripts [REALTIME] Reviewed both the superclass and its dist plugins 2019-11-03 15:37:49 +00:00
README.md [REALTIME] Reviewed both the superclass and its dist plugins 2019-11-03 15:37:49 +00:00
RealtimePlugin.php [REALTIME] Reviewed both the superclass and its dist plugins 2019-11-03 15:37:49 +00:00

As of StatusNet 1.0.x, actual formatting of the notices is done server-side, loaded by AJAX after the real-time notification comes in. This has the drawback that we may make extra HTTP requests and delay incoming notices a little, but means that formatting and internationalization is consistent.

== TODO ==

  • Update mark behaviour (on notice send)
  • Pause, Send a notice ~ should not update counter
  • Pause ~ retain up to 50-100 most recent notices
  • Make it work for Conversation page (perhaps a little tricky)
  • IE is updating the counter in document title all the time (Not sure if this is still an issue)
  • Reconsider the timestamp approach