gnu-social/lib/modules/Realtime
Alexei Sorokin ebfc248ff6 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
2021-07-16 19:44:41 +01:00
..
actions Set HTTP status codes with http_​response_​code() 2021-07-16 19:44:38 +01:00
classes Various fixes 2021-07-16 19:44:41 +01:00
locale [REALTIME] Reviewed both the superclass and its dist plugins 2021-07-16 19:44:36 +01:00
scripts [REALTIME] Reviewed both the superclass and its dist plugins 2021-07-16 19:44:36 +01:00
README.md [REALTIME] Reviewed both the superclass and its dist plugins 2021-07-16 19:44:36 +01:00
RealtimePlugin.php [REALTIME] Reviewed both the superclass and its dist plugins 2021-07-16 19:44:36 +01: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