summaryrefslogtreecommitdiff
path: root/lib/subs.php
AgeCommit message (Collapse)Author
2010-02-19remove unused subs_(un)subscribe_user functionsEvan Prodromou
2010-02-19Refactor subs_* functions for remote useEvan Prodromou
The subs_* functions in subs.php have made a lot of assumptions about users versus profiles. I've refactored the functions to be methods of the Subscription class instead, and to use Profile objects throughout. Some of the checks for blocks or existing subscriptions depended on users or profiles, so I've moved those methods around a bit. I've left stubs for the subs_* functions until we get time to replace them.
2010-01-13add events for subscribing to people and joining groupsEvan Prodromou
2009-12-03Make it impossible to block (and thus unsubscribe from yourZach Copley
self-subscription) via the API. Additionally, make it impossible to block yourself or unsubscribe from yourself, period. I also made User use the subs.php helper function for unsubscribing during a block. Hopefully, these changes will get rid of the problem of people accidentally deleting their self-subscriptions once and for all (knock on wood).
2009-11-16block subscribes by silenced usersEvan Prodromou
2009-11-13Fix typo (!. -> !)Siebrand Mazeland
2009-11-08!. => !Siebrand Mazeland
2009-08-26define LACONICA and accept LACONICA for backwards compatibilityEvan Prodromou
2009-08-25change LACONICA to STATUSNETEvan Prodromou
2009-08-25a distributed -> the distributedEvan Prodromou
2009-08-25change Laconica and Control Yourself to StatusNet in PHP filesEvan Prodromou
2009-07-09cache frequently-used subscriber, subscription, notice and fave count valuesEvan Prodromou
2009-06-20Update copyright dates in files modified in 2009Evan Prodromou
2009-06-20change Controlez-Vous to Control YourselfEvan Prodromou
2009-01-27Revert "Fixup already-subscribed string"Evan Prodromou
This reverts commit 6055516aaf6a0620d1c6f40b42090558e9e2cec1.
2009-01-26Fixup already-subscribed stringAdrian Lang
2009-01-23Merge branch 'master' of /var/www/mublogEvan Prodromou
Conflicts: actions/api.php actions/deletenotice.php actions/recoverpassword.php actions/remotesubscribe.php actions/tag.php actions/tagrss.php actions/twitapiaccount.php actions/twitapiusers.php classes/Notice.php classes/User.php lib/common.php lib/language.php lib/subs.php lib/twitterapi.php lib/util.php scripts/inbox_users.php scripts/update_translations.php Merged development trunk into laconica head. woohoo!
2009-01-14Update code for subs to use common caching toolsEvan Prodromou
2009-01-11Removed periods from strings ending with "!."Ori Avtalion
2008-12-23change function headers to K&R styleEvan Prodromou
Another huge change, for PEAR code standards compliance. Function headers have to be in K&R style (opening brace on its own line), instead of having the opening brace on the same line as the function and parameters. So, a little perl magic found all the function definitions and move the opening brace to the next line (properly indented... usually). darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23replace all tabs with four spacesEvan Prodromou
The PEAR coding standards decree: no tabs, but indent by four spaces. I've done a global search-and-replace on all tabs, replacing them by four spaces. This is a huge change, but it will go a long way to getting us towards phpcs-compliance. And that means better code readability, and that means more participation. darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-12-07low-level management of blocksEvan Prodromou
darcs-hash:20081208031008-5ed1f-c96006b5c05fa0e68f9adaacd0518016aedfee2a.gz
2008-09-16rationalize with repository versionEvan Prodromou
darcs-hash:20080916174400-84dde-63781c5cd6a7c9a3dbc765dfa15084e3372effd5.gz
2008-08-16Added missing subs.phpCiaranG
darcs-hash:20080816153917-f6e2c-e9a3111a80dfda5755c5fa3a4ea00d880afb08c2.gz
2008-08-26helper functions that take a user objectEvan Prodromou
darcs-hash:20080827001348-84dde-de452a1120aba995355aa616cf416bb6b617566c.gz
2008-09-15subscriptions clear user with-friends cache, tooEvan Prodromou
darcs-hash:20080915071500-84dde-765c8c289d5cf7f71c2a49967bde4ecda28d9ea8.gz
2008-08-22XMPP sub/unsub and help commandsCiaranG
darcs-hash:20080822191032-f6e2c-a3a7efbbaad1ec7c48ef132a8ba34fc8b8651969.gz