summaryrefslogtreecommitdiff
path: root/actions/subscribe.php
AgeCommit message (Collapse)Author
2010-02-25Fix bug on subscribe/unsubscribe in profile lists. Bogus call to nonexisting ↵Brion Vibber
profile->getProfile() was masked by DB_DataObject
2010-02-23Drop user-only requirement for subscribe actionEvan Prodromou
I removed the check for local users in the subscribe button. I replaced it with a more specific check for OMB 0.1 remote profiles, which you can't use with this action. I also took the opportunity to split the handle() method into prepare() and handle(), and added PHPCS clean documentation.
2010-01-13correct check for error in subscribe and unsubscribe actionsEvan Prodromou
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-06-20Update copyright dates in files modified in 2009Evan Prodromou
2009-06-20change Controlez-Vous to Control YourselfEvan Prodromou
2009-04-01Try to do intelligent redirect codesEvan Prodromou
After fixing the redirect code output, there are a lot of weirdnesses with e.g. form handling. Try to add explicit redirect codes where needed -- principly when handling a POST.
2009-02-02removed extraneous argument in startHTML callsRobin Millette
2009-01-21(Un)subscribe AJAX formssarven
2009-01-15Convert use of common_server_error and common_user_error to methods on ActionEvan Prodromou
2009-01-15Convert all actions to use new UI functionsEvan Prodromou
I did a massive search-and-replace to get all the action subclasses to use the new output function (common_element() -> $this->element(), etc.) There's still a lot to do, but it's a first step
2008-12-23move opening brace of class declaration to next lineEvan Prodromou
Another gigantor PEAR coding standards patch. Here, I've moved the opening curly bracket on a class statement to the following line. darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
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-11Standardising XHR responses to utf-8 and indentingSarven Capadisli
darcs-hash:20081211211814-efd22-a41a2b123fcd08945370e868431dc1b2feda4dfe.gz
2008-12-11better output in subscribeEvan Prodromou
darcs-hash:20081211183756-5ed1f-d4c430397d6356ede7873d3790a61fd822a96e60.gz
2008-12-07pass profile id for subscriptions rather than user nameEvan Prodromou
darcs-hash:20081208031312-5ed1f-b570b86b28e8eda763c51be1ae091034f76bd984.gz
2008-11-20Don't allow user to send a new message or nudge right after subscribing to ↵csarven
another contact darcs-hash:20081120235752-eefa4-42e67140086035ae57c4db38aea48cabb0486d75.gz
2008-11-20(Un)Subscribe form using ajaxForm()csarven
darcs-hash:20081120232655-eefa4-cf6a71e246828793d3bfa413db724ab33bc58bcf.gz
2008-11-18more ajax coming (un-sub)millette
darcs-hash:20081118174857-099f7-bb67199062174a41433c34434f4832a8f48898ee.gz
2008-09-22merge CiaranG's changes for subs0.6.00.6Evan Prodromou
darcs-hash:20080922225031-84dde-c6967f46ae642f8943b0de77d9a82892ecadb4ce.gz
2008-08-16XMPP daemon updates including help, sub and subsub commands, plus ↵CiaranG
subscribe/unsubcribe logic broken out into standalone module for sharing darcs-hash:20080816083422-f6e2c-fb8b4e0581719bd8c3f433e661ec9742e1b84cbc.gz
2008-08-29better client error on CSRF problem with subscribe/unsubscribeEvan Prodromou
darcs-hash:20080829051628-84dde-2a339a35c422afb9ec04f757771764ed43b2c28b.gz
2008-08-29CSRF protection for subscription/unsubscriptionEvan Prodromou
darcs-hash:20080829051104-84dde-9bd23c28c2c8a720046060a33ff3e5f246c47116.gz
2008-08-22XMPP sub/unsub and help commandsCiaranG
darcs-hash:20080822191032-f6e2c-a3a7efbbaad1ec7c48ef132a8ba34fc8b8651969.gz
2008-07-22base class is_readonly() now returns false by defaultzach
darcs-hash:20080722212056-ca946-e4bd9eef8e3d8991414932e9fc7b8c9a31f818c0.gz
2008-07-22Added is_readonly() method to all Actionszach
darcs-hash:20080722171501-ca946-160bad6c4f80be2b3b105ea9b913f1c0f9edb0ef.gz
2008-07-20add autosubscribeEvan Prodromou
darcs-hash:20080720201620-84dde-f782e01bdf7f267b3b02e20e851aa7b643ed8590.gz
2008-07-18move mail notification to a utility functionEvan Prodromou
darcs-hash:20080718041231-84dde-5953d417b76ae538fd501db11af9ff4a32bfbc9f.gz
2008-07-15move email settings to its own tabEvan Prodromou
darcs-hash:20080715221826-84dde-8a3692f95199818c11dbb0be159d07f1ab10cf6a.gz
2008-07-12format string, againEvan Prodromou
darcs-hash:20080712205220-84dde-c58df22d58fa4d483a0ca09c3d9c74e4e22eb6a7.gz
2008-07-12reformat mail againEvan Prodromou
darcs-hash:20080712204923-84dde-627704bb3a0bb95af3b8fa9ba281a38913e0bbcf.gz
2008-07-12lost the site name, and moved everything into sprintf of gettextEvan Prodromou
darcs-hash:20080712202903-84dde-e210b42815db5601579a0a890385762c3a54fe5e.gz
2008-07-12fixup name sent in subject of confirmation emailEvan Prodromou
darcs-hash:20080712202017-84dde-db9bb7d4db42514215cccf76f12ffae4f853dbdc.gz
2008-07-08Convert _t() to _() for gettext.Mike Cochrane
darcs-hash:20080708094531-533db-83399a46e6ec4c0fcc6249b0235961f969d1ae73.gz
2008-07-05if not a POST, redirect to subscriptionsEvan Prodromou
darcs-hash:20080705213637-84dde-87ceb18bfc0db5248083bae1b9ce7ef088a68fe2.gz
2008-06-14email notification on new subscriptionsEvan Prodromou
darcs-hash:20080615030202-84dde-ebed7919c227ce280dc818f301e15001eb8b5926.gz
2008-05-21fix subscriptions a bitEvan Prodromou
darcs-hash:20080521185602-84dde-9e058c34c251d96cf557c1dd459523aa434bed79.gz
2008-05-20trim whitespaceEvan Prodromou
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
2008-05-20call validate before saving objectsEvan Prodromou
darcs-hash:20080520191032-84dde-64197121c93cd4cf3cbc614badff0bd44547f9f9.gz
2008-05-17use cast object for datetimesEvan Prodromou
darcs-hash:20080517201411-84dde-7a6195517a5bded7b84266f61c035e2adbc49edd.gz
2008-05-17fixes to make it all lintEvan Prodromou
Ran everything through php -l, found out that it didn't compile. So: fixed the am-I-running-in-Laconica check at the top of each file. Some syntax fixes in shownotice, showstream, common. darcs-hash:20080517154701-84dde-8d38da89c5b9cb3b40704adb04a4de880c204181.gz
2008-05-14license block for source codeEvan Prodromou
Added GNU Affero GPL license block to source code. Added name "LACONICA". I think it should work fine. darcs-hash:20080514192648-84dde-a430dc438a4e3741c62ccf30ee7f85ecc968b159.gz
2008-05-14considerable codingEvan Prodromou
darcs-hash:20080514145436-84dde-d0994cb35d3fe8545d3f08abeec3cdfe7559c67d.gz