aboutsummaryrefslogtreecommitdiffstats
path: root/mod/ping.php
Commit message (Collapse)AuthorAgeFilesLines
* deprecate $a->get_baseurl()redmatrix2016-03-301-4/+4
|
* Linking new connection notification to pending connections (see Channel 1) ↵jeroenpraat2016-01-271-1/+1
| | | | and improved email notifications about new connections. Could not find a way to do this also for the generic notifications. Added hub domain of channel address on the new channel page. A few people on my hub didn't understood. This example will make it more clear. Some minor bits.
* restrict event notification to events and birthdays (exclude tasks)redmatrix2015-08-221-0/+2
|
* more work on mail flagsredmatrix2015-06-231-10/+5
|
* DB changes for some channel flagsredmatrix2015-06-151-1/+1
|
* sql errors after last major edit adventureredmatrix2015-06-141-1/+1
|
* convert the abook fieldsredmatrix2015-06-141-8/+4
|
* more work on item table optimisationredmatrix2015-06-101-3/+6
|
* Merge branch 'master' into tresredmatrix2015-05-141-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: include/Import/refimport.php include/activities.php include/attach.php include/event.php include/externals.php include/identity.php include/items.php include/notifier.php include/photos.php include/taxonomy.php include/zot.php mod/channel.php mod/connedit.php mod/events.php mod/item.php mod/like.php mod/manage.php mod/mood.php mod/ping.php mod/poke.php mod/subthread.php mod/tagger.php mod/thing.php
| * convert ITEM_WALL from bitfield to standaloneredmatrix2015-05-061-4/+3
| |
* | Merge branch 'master' into tresfriendica2015-04-231-8/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: include/Contact.php include/ItemObject.php include/api.php include/attach.php include/diaspora.php include/dir_fns.php include/enotify.php include/event.php include/expire.php include/items.php include/notifier.php include/notify.php include/photos.php include/taxonomy.php include/text.php include/widgets.php include/zot.php mod/admin.php mod/channel.php mod/dirsearch.php mod/display.php mod/editwebpage.php mod/events.php mod/home.php mod/item.php mod/manage.php mod/mood.php mod/network.php mod/page.php mod/photos.php mod/ping.php mod/post.php mod/thing.php mod/viewsrc.php view/css/mod_events.css
| * limit notification detail queries for items and eventsfriendica2015-03-231-3/+3
| |
| * The never ending saga of parent = 0 bugs on Dreamhost.friendica2015-03-011-1/+1
| |
| * provide relief to sites that are severely impacted by the slow ITEM_UNSEEN ↵friendica2015-02-121-14/+5
| | | | | | | | searches. This does not incorporate any other flag optimisations as that will require a major DB update and possibly involve significant downtime. This is just to bite off a little chunk now and provide some much needed relief.
* | Merge branch 'master' into tresfriendica2015-02-081-2/+4
|\| | | | | | | | | | | Conflicts: mod/events.php view/css/mod_events.css
| * restrict "mark all events seen" to only the events that are presented in the ↵friendica2015-02-081-2/+4
| | | | | | | | notification view.
* | Merge branch 'master' into tresfriendica2015-01-291-26/+26
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: include/group.php include/text.php mod/acl.php mod/channel.php mod/connections.php mod/display.php mod/group.php mod/item.php mod/locs.php mod/network.php mod/photos.php mod/ping.php mod/starred.php mod/viewsrc.php
| * local_user => local_channelfriendica2015-01-281-26/+26
| |
* | Merge branch 'master' into tres and add some work on the item_deleted flag ↵friendica2015-01-261-1/+1
|\| | | | | | | | | | | | | | | | | | | refactor Conflicts: include/attach.php include/onedirsync.php include/zot.php mod/locs.php
| * this will require more fixing in include/enotifymarijus2015-01-231-1/+1
| |
* | heavy lifting converting item flag bitsfriendica2015-01-221-15/+7
| |
* | working through the xchan table to remove bitfields, mostly complete except ↵friendica2015-01-201-6/+4
|/ | | | for updating the updater
* Sort notificationsStefan Parviainen2014-12-301-2/+2
|
* filter posts you author from unseen notifications - note there are other ↵friendica2014-12-281-4/+9
| | | | ways to do this, but involve some code complexity. This is easier to implement but may have a slight impact on the ping query performance. It's not horrid, just mentioning for the record.
* requote ignorefriendica2014-11-171-1/+1
|
* whitespacefriendica2014-11-171-7/+7
|
* add unseen count and way to mark unseen to list mode. Also fix automatic ↵friendica2014-11-171-4/+12
| | | | mark of unseen so as to work with list mode.
* Merge remote-tracking branch 'upstream/master'Habeas Codice2014-11-131-75/+117
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: boot.php include/dba/dba_driver.php include/diaspora.php include/follow.php include/session.php include/zot.php mod/photos.php mod/ping.php
| * class is a reserved wordfriendica2014-11-101-4/+4
| |
| * configurable visual alerts/notificationsfriendica2014-11-041-71/+113
| |
* | PostgreSQL support initial commitHabeas Codice2014-11-131-16/+18
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were 11 main types of changes: - UPDATE's and DELETE's sometimes had LIMIT 1 at the end of them. This is not only non-compliant but it would certainly not do what whoever wrote it thought it would. It is likely this mistake was just copied from Friendica. All of these instances, the LIMIT 1 was simply removed. - Bitwise operations (and even some non-zero int checks) erroneously rely on MySQL implicit integer-boolean conversion in the WHERE clauses. This is non-compliant (and bad programming practice to boot). Proper explicit boolean conversions were added. New queries should use proper conventions. - MySQL has a different operator for bitwise XOR than postgres. Rather than add yet another dba_ func, I converted them to "& ~" ("AND NOT") when turning off, and "|" ("OR") when turning on. There were no true toggles (XOR). New queries should refrain from using XOR when not necessary. - There are several fields which the schema has marked as NOT NULL, but the inserts don't specify them. The reason this works is because mysql totally ignores the constraint and adds an empty text default automatically. Again, non-compliant, obviously. In these cases a default of empty text was added. - Several statements rely on a non-standard MySQL feature (http://dev.mysql.com/doc/refman/5.5/en/group-by-handling.html). These queries can all be rewritten to be standards compliant. Interestingly enough, the newly rewritten standards compliant queries run a zillion times faster, even on MySQL. - A couple of function/operator name translations were needed (RAND/RANDOM, GROUP_CONCAT/STRING_AGG, UTC_NOW, REGEXP/~, ^/#) -- assist functions added in the dba_ - INTERVALs: postgres requires quotes around the value, mysql requires that there are not quotes around the value -- assist functions added in the dba_ - NULL_DATE's -- Postgres does not allow the invalid date '0000-00-00 00:00:00' (there is no such thing as year 0 or month 0 or day 0). We use '0001-01-01 00:00:00' for postgres. Conversions are handled in Zot/item packets automagically by quoting all dates with dbescdate(). - char(##) specifications in the schema creates fields with blank spaces that aren't trimmed in the code. MySQL apparently treats char(##) as varchar(##), again, non-compliant. Since postgres works better with text fields anyway, this ball of bugs was simply side-stepped by using 'text' datatype for all text fields in the postgres schema. varchar was used in a couple of places where it actually seemed appropriate (size constraint), but without rigorously vetting that all of the PHP code actually validates data, new bugs might come out from under the rug. - postgres doesn't store nul bytes and a few other non-printables in text fields, even when quoted. bytea fields were used when storing binary data (photo.data, attach.data). A new dbescbin() function was added to handle this transparently. - postgres does not support LIMIT #,# syntax. All databases support LIMIT # OFFSET # syntax. Statements were updated to be standard. These changes require corresponding changes in the coding standards. Please review those before adding any code going forward. Still on my TODO list: - remove quotes from non-reserved identifiers and make reserved identifiers use dba func for quoting - Rewrite search queries for better results (both MySQL and Postgres)
* make the pending connections query consistent between mod/ping and ↵friendica2014-07-051-5/+7
| | | | mod/connections
* more doco on mod/ping - plus fix a birthday notification which was a day off.friendica2014-06-301-6/+52
|
* Some documentation in mod/ping.php an reduced default logging.Klaus Weidenbach2014-06-301-47/+33
| | | | It is now LOGGER_DATA as it returns the json data contents.
* got the presence bit.friendica2014-04-261-1/+1
|
* This should resolve the dav authentication loop (correctly)friendica2014-02-221-1/+1
|
* prevent mod/cloud looping (ping gets a new session on each call [wtf?] which ↵friendica2014-02-221-1/+1
| | | | triggers our "changed uid" detector)
* mod/ping - don't perform any database calls if installingfriendica2014-02-061-0/+6
|
* mod/ping should only update basic_presence - and clearing stale entries. ↵friendica2014-01-301-9/+6
| | | | otherwise let rooms handle presence for themselves.
* prevent runaway presence indicationfriendica2014-01-291-2/+2
|
* issues uncovered whilst testing the chatroom APIfriendica2014-01-291-3/+7
|
* chatpresence timing out too quicklyfriendica2014-01-281-1/+1
|
* fix sql query and provide setting to hide online statusfriendica2014-01-281-1/+1
|
* basic presence indicationfriendica2014-01-281-0/+25
|
* Fix new connection nav URLThomas Willingham2014-01-081-1/+1
|
* split private messages into two modules - "message" is just for message ↵friendica2013-12-211-1/+1
| | | | lists, "mail" is for reading and writing conversations. This is so we can Comanchify it cleanly.
* clicking on an event notification from somebody else should take you to view ↵friendica2013-11-131-1/+1
| | | | event - not edit event. Need to also check permissions on event module because reaching this form shouldn't have been possible without event write permissions.
* fix marking events seenfriendica2013-04-161-1/+1
|
* replace old intro linkfriendica2013-03-061-1/+1
|
* prevent repeated channel names in system notificationsfriendica2013-02-101-1/+1
|