Hypolite Petovan
56ee734b00
Cleanup /format pre-move
3 years ago
Michael
1088e51d69
Remove commented code.
3 years ago
Michael
96afaaa0d5
Unread notifications are now always on top
3 years ago
Alexandre Alapetite
534ea6aefc
Fix ping_init SQL
According to review
https://github.com/friendica/friendica/pull/3323#pullrequestreview-32401628
3 years ago
Alexandre Alapetite
c3e933642e
Fix missing SQL group by in ping
https://github.com/friendica/friendica/issues/3322
3 years ago
Hypolite Petovan
7b352f3f74
Revert "Coding convention applied - part 1"
3 years ago
Roland Häder
0cd241bcbe
added spaces + some curly braces + some usage of dbm::is_result()
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Michael
3af099298c
Some more caching
4 years ago
Michael
844fefc9c4
Caching the events.
4 years ago
Roland Häder
e1f3661645
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
884f44ce94
*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
47c60aa486
Opps, no need for this.
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Michael
aea122cd20
Little improvements to the queries in ping.php
4 years ago
Hypolite Petovan
0f33311f65
pig.php: remove debug
4 years ago
Hypolite Petovan
58e03c5155
ping.php: Ensure data structure consistency
- Formatting
- Documentation
4 years ago
Hypolite Petovan
e0322546d8
ping.php improvement: Prevent $register_count from being undefined
4 years ago
Hypolite Petovan
cc242d52f8
ping.php Fix confusion between count vars and array vars
4 years ago
Hypolite Petovan
61afd71897
ping.php performance: fix typo
4 years ago
Hypolite Petovan
c6fbb46108
ping.php performance: Add JSON output
- Added JSON/JSONP support
- Added XML backward-compatible output
- Updated main.js to handle JSON data
- Removed unused references to non-existant DOM elements
4 years ago
Hypolite Petovan
bc407080d2
ping.php performance: improve documentation and formatting
4 years ago
Hypolite Petovan
f1c855e755
ping.php performance: Cache notification bbcode
- Add two fields to notifiy table to store cached bbcode result
- Add bbcode conversion on notif creation
- Add postfact caching if cache field is empty on retrieval
4 years ago
Hypolite Petovan
fdacc40b5f
Fix wrong data type
4 years ago
Hypolite Petovan
fac2d9a880
Fix registration request notification query
- Removed wrong usage of COUNT in registration request query
- Added simple count() of results
4 years ago
Michael Vogel
b6dec53ec1
Bugfix: A parameter in xml::from_array was missing.
4 years ago
Michael Vogel
0ea9af3d7d
Ping is now using a standard routine to generate the xml.
4 years ago
Michael Vogel
e4c6cfd2d8
Moves the function "is_result" from dba to dbm.
4 years ago
Michael Vogel
0b1188b7fe
Imrpoved avatar handling when storing them/partly use of "micro"
4 years ago
Michael Vogel
807fbe173b
Some more places where the avatar picture is taken from the database
4 years ago
Roland Haeder
9cfc249b12
Moved is_filled_array() to both dba classes and named it is_result().
Please see ticket #2390 for full discussion.
Signed-off-by: Roland Haeder <roland@mxchange.org>
5 years ago
Michael Vogel
14a2aa552a
The name in the notifications has to be double encoded
5 years ago
Roland Haeder
4ec377008d
Introduced is_filled_array() + added some missing array initialization
Signed-off-by: Roland Haeder <roland@mxchange.org>
5 years ago
Roland Haeder
0c1cc0d32f
Introduced is_filled_array() + added some missing array initialization
Signed-off-by: Roland Haeder <roland@mxchange.org>
5 years ago
Roland Haeder
2c37eab808
Introduced is_filled_array() + added some missing array initialization
Signed-off-by: Roland Haeder <roland@mxchange.org>
5 years ago
Roland Haeder
aa548be3b9
Introduced is_filled_array() + added some missing array initialization
Signed-off-by: Roland Haeder <roland@mxchange.org>
5 years ago
Michael Vogel
bf7dedb03b
Optimized query for unread group postings
5 years ago
fabrixxm
b202e02fbf
Revert "Updated modules to allow for partial overrides without errors"
This reverts commit db949bb802
.
5 years ago
fabrixxm
44592611e1
new api for notifications
/api/friendica/notification
returns first 50 notifications for current user
/api/friendica¬ification/<id>
set note <id> as seen and return item object if possible
new class NotificationsManager to query for notifications and set seen
state
5 years ago
Andrej Stieben
db949bb802
Updated modules to allow for partial overrides without errors
Only define functions if they have not been defined before, e.g. in themes. This makes it possible to override parts of a module and still use the other functions.
5 years ago
rabuzarus
52dbb0b4a2
Forum class - rename Class CamelCase and rename some methods
5 years ago
rabuzarus
9a54afa629
Forum class - rename Class CamelCase and rename some methods
5 years ago
rabuzarus
c1070e4655
forums.php is now forum.php and providing class forum
5 years ago
Michael Vogel
69457a4a5b
DFRN import seems to work. Improvements are possible :-)
5 years ago
rabuzarus
4b7f080c46
ping: further work
5 years ago
rabuzarus
c0406918ec
ping: cleanup
5 years ago
rabuzarus
ddf3589fc5
count unread forum items for forumlist widget (ping.php)
5 years ago
Sandro Santilli
573a441d83
Do not notify own posts, closes #1032
5 years ago
fabrixxm
c700a6fb37
duepuntozero, vier: add unread messages per group
5 years ago
Sandro Santilli
d31c372376
Revert the rename of <groups>
5 years ago
Sandro Santilli
e28072f548
Fix bugs and rename <groups> to <group_posts>
5 years ago
Sandro Santilli
ba158dfeb1
Include per-group count of unseen items in /ping output
See #1718
Unfinished work
5 years ago