Commit Graph

1025 Commits

Author SHA1 Message Date
sarven
dce8cf6845 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-16 17:03:37 +00:00
sarven
877327a18e Update to XHR post notice 2009-01-16 17:02:46 +00:00
Evan Prodromou
1a02d681fa Merge branch 'master' of /var/www/trunk into uiredesign 2009-01-16 16:42:34 +00:00
sarven
d3092274c2 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 23:47:43 +00:00
Evan Prodromou
c73ed29cb7 Some work to make the all action work 2009-01-15 23:46:22 +00:00
sarven
041c3ae151 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 23:19:15 +00:00
Evan Prodromou
e20309315f Correct error var in login 2009-01-15 23:17:04 +00:00
sarven
39b5957068 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 23:10:44 +00:00
Evan Prodromou
ba9f1f603b All actions now use isReadOnly() 2009-01-15 23:09:16 +00:00
sarven
0357ea505d Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 23:05:57 +00:00
sarven
8d9fb7711f Unnecessary wrapper 2009-01-15 23:05:36 +00:00
Evan Prodromou
4b0cf99e56 Convert use of common_server_error and common_user_error to methods on Action 2009-01-15 23:03:38 +00:00
Evan Prodromou
eaa81d25fa Convert all actions to use new UI functions
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
2009-01-15 22:57:15 +00:00
Evan Prodromou
10a4d9ea1e Revert "section for export data"
This reverts commit 4cee28ace9.
2009-01-15 22:23:40 +00:00
Evan Prodromou
4cee28ace9 section for export data 2009-01-15 22:17:18 +00:00
Evan Prodromou
37350e873d Make the feedlist work -- kinda 2009-01-15 20:22:14 +00:00
Evan Prodromou
082db2ad7d A little further with notice lists 2009-01-15 20:19:32 +00:00
Evan Prodromou
b32a47807e Include PublicGroupNav in publicaction 2009-01-15 20:13:11 +00:00
Zach Copley
3bb7ea79c0 Twitter bridge: verify creds was taking user ID from the status instead
of the user object, and failing if user hadn't ever posted on Twitter.
2009-01-15 11:29:45 -08:00
Evan Prodromou
0093b035c1 Modify public stream to use new UI framework
I modified public.php to use the new UI framework. Since the Action
class isn't functional yet, I don't know if it works.

I took some of the functionality, like the public tabs nav and the
feeds list, and made them widgets.

I also moved the navigation from common_navigation() to a method of
Action.
2009-01-13 23:48:05 -05:00
Zach Copley
125f05563b trac750 Add prefix string option in Facebook app for notice sync 2009-01-12 05:25:07 +00:00
Zach Copley
10e32eca5c trac750 Better workflow for inviting friends to use the Facebook app 2009-01-12 03:16:22 +00:00
Zach Copley
7ce7c756e8 trac750 Exclude Facebook friends who are already using Identi.ca app from invitee list 2009-01-12 00:42:42 +00:00
Zach Copley
a373e6f500 trac750 Automatically update Identi.ca profile box with user's latest dent 2009-01-11 08:33:28 +00:00
Zach Copley
689be14215 trac750 - Facebook app now uses XMLWriter for output (much cleaner!) 2009-01-11 07:03:59 +00:00
Zach
f0436655c8 Merge branch 'master' of /var/www/trunk 2009-01-11 04:38:51 +00:00
Zach Copley
a7cd01aadd Twitter settings: show success color for msg on save settings 2009-01-10 20:27:53 -08:00
Zach
d96de79888 trac750 Facebook app's invite tab now works 2009-01-11 03:00:12 +00:00
Zach Copley
4bb522c3fa trac750 better settings tab workflow
darcs-hash:20090106205738-7b5ce-e80f73130a1f699e8d33f31c63cf90ee259b72cd.gz
2009-01-06 15:57:38 -05:00
Zach Copley
5e061d2060 Some fixups of patches not already migrated to trunk to bring inline with PEAR coding stds
darcs-hash:20081225144601-7b5ce-4846f3d036c36037836d15ed672c10ba33f9f84c.gz
2008-12-25 09:46:01 -05:00
csarven
33196c24f4 Jcrop v2 (POST cropping to be completed)
darcs-hash:20081210021607-eefa4-c3590f3e734255faf098bf5ca09fc17901a6db70.gz
2008-12-09 21:16:07 -05:00
Zach Copley
e0fbf02bbf trac750 configurable sync flags for Facebook app (noticesync, replysync)
darcs-hash:20090105040212-7b5ce-37f6195649dc673241e4566a93183b13e428d98f.gz
2009-01-04 23:02:12 -05:00
Zach Copley
fd6f9b9d76 trac750 Automatically update linked Facebook users' statuses
darcs-hash:20090105010407-7b5ce-559da13720b18e3c570e730326f5e5ef2b2dc1ab.gz
2009-01-04 20:04:07 -05:00
Evan Prodromou
d57c06b417 wrapper element for config.xml
darcs-hash:20081230212202-84dde-d6439ad7061a56c9de0168ced3d95436ca20cb59.gz
2008-12-30 16:22:02 -05:00
Evan Prodromou
76d91a358b better serialization of arrays and booleans in config output
darcs-hash:20081230211957-84dde-ea044934e16bb8ef89e762159ecea1fa008b65b9.gz
2008-12-30 16:19:57 -05:00
Evan Prodromou
91a41242ef implement the api/laconica/config method
darcs-hash:20081230211444-84dde-d36ece807afedfa6f918923ba9074f774cbcb5ec.gz
2008-12-30 16:14:44 -05:00
Evan Prodromou
481c6d2316 add some breaks so that switch statement works
darcs-hash:20081230210114-84dde-4fbf5b718841ae1c46129a6b58d6b4e239d8be09.gz
2008-12-30 16:01:14 -05:00
Evan Prodromou
a3f601cd4e implement api/laconica/version method
darcs-hash:20081230205939-84dde-4b6096859c6b44169dd3d809442fab15337061b2.gz
2008-12-30 15:59:39 -05:00
Evan Prodromou
2047c68d71 add laconica methods to unauthed ones
darcs-hash:20081230203747-84dde-dbdb783c8883097af0f69b4c06c2425c54964773.gz
2008-12-30 15:37:47 -05:00
Evan Prodromou
9da3091b2e Laconica-specific extensions for Twitter API
darcs-hash:20081230202019-84dde-0aab26044f990fc1039c669cd36860b5389fab64.gz
2008-12-30 15:20:19 -05:00
Evan Prodromou
a53860f6cf whitespace changes in actions/register.php after global search-and-replace
darcs-hash:20081223195722-84dde-7416c826728867e431511266ce18699d129a60ed.gz
2008-12-23 14:57:22 -05:00
Evan Prodromou
b264c03d32 move opening brace of class declaration to next line
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-23 14:49:23 -05:00
Evan Prodromou
7ad2f2a371 TRUE
More PEAR coding standards global changes. Here, I've changed all
instances of TRUE to true and FALSE to false.

darcs-hash:20081223194428-84dde-cb1a1e6f679acd68e864545c4d4dd8752d6a6257.gz
2008-12-23 14:44:28 -05:00
Evan Prodromou
04ef1ba8ee change function headers to K&R style
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-23 14:33:23 -05:00
Evan Prodromou
eb2f9c98ac replace NULL with null
Another global search-and-replace update. Here, I've replaced the PHP
keyword 'NULL' with its lowercase version. This is another PEAR code
standards change.

darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23 14:21:29 -05:00
Evan Prodromou
edbc0c665c replace all tabs with four spaces
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-23 14:19:07 -05:00
Evan Prodromou
20af192796 bring lib/noticelist.php into line with PEAR code standards
darcs-hash:20081223190851-84dde-ecad63595159aca2ae014325c9af29a9ace21c3d.gz
2008-12-23 14:08:51 -05:00
Evan Prodromou
2d0aec255f bring messaging section (inbox, outbox, mailbox) into PEAR Code Standards compliance
Actually refactored the method names on these classes to come into
complete compliance with the code standards. Untested; maybe there are
some bad method names now.

darcs-hash:20081222201304-84dde-3effcce0f9ef25fbe0bfebd505037d9ff37252fa.gz
2008-12-22 15:13:04 -05:00
Sarven Capadisli
946eee4256 Direct message XHR response fix for IE and minor tweaks
darcs-hash:20081216071818-efd22-d2e59bb60a236538452be356f38d0974f35f0107.gz
2008-12-16 02:18:18 -05:00
Zach Copley
b801f73b1f Twitter-compatible API - update verify_credentials to return profile
darcs-hash:20081216030455-7b5ce-552516bfb34cb0ae1550787813feb4a4514d6c53.gz
2008-12-15 22:04:55 -05:00
Evan Prodromou
9ef3f7cee6 correctly handle remote re-subscribe
darcs-hash:20081215134824-84dde-de48c99b6cb45cc461125a7f8f382eb57de0bf28.gz
2008-12-15 08:48:24 -05:00
Evan Prodromou
0860791f3f bug with remote subscriptions and blocks
darcs-hash:20081215132806-84dde-0319e95259047d652214c151326aff64e746d532.gz
2008-12-15 08:28:06 -05:00
Zach Copley
3e70bfa287 Fixed Popular tab (hopefully)
darcs-hash:20081212075617-7b5ce-c56db92d928c58eaa3fed7e4f226e0fca62e2bbf.gz
2008-12-12 02:56:17 -05:00
Evan Prodromou
fd13272206 don't show form if subscription can't be found (weirdly)
darcs-hash:20081212055713-84dde-1b2aa99861ee0ab7c63a48152a5590b4d2f360d9.gz
2008-12-12 00:57:13 -05:00
Evan Prodromou
9855fc003b don't block yourself!
darcs-hash:20081212051830-84dde-4db7b40c27b20bd37bac261a68bd11051d263c25.gz
2008-12-12 00:18:30 -05:00
Sarven Capadisli
596c1b7f5a Using single id for both profile block and unblock
darcs-hash:20081212043240-efd22-99f6754e2b76eed06237414955d6c01b4137cba5.gz
2008-12-11 23:32:40 -05:00
Evan Prodromou
09dd39a434 stub out facebook app and delete profile
darcs-hash:20081212044600-84dde-b9fa8240a83457f9ed41c0bcdac4b20aff1f8aed.gz
2008-12-11 23:46:00 -05:00
Sarven Capadisli
867d723548 Indenting the XML response
darcs-hash:20081212030820-efd22-3ee6f5ab50c821e3da5dd6785abb765af168058a.gz
2008-12-11 22:08:20 -05:00
Zach Copley
6a0873e30d Better titles and instructions for Featured and Popular tabs
(Do not be afraid of this patch!)

darcs-hash:20081211235341-7b5ce-98bae58e267b4e4b0adb5835e5a05e19cd910363.gz
2008-12-11 18:53:41 -05:00
Evan Prodromou
7ed9530273 misspelled INSTALLDIR in newnotice.php
darcs-hash:20081211233515-84dde-184e46fdee817baa3df8e066ca49d759f3b1a899.gz
2008-12-11 18:35:15 -05:00
Evan Prodromou
724a11c250 take out c&p code from newnotice, use noticelist classes instead
darcs-hash:20081211232000-5ed1f-5ed2008f6c8273b7fa653396bff090afb10b030e.gz
2008-12-11 18:20:00 -05:00
Evan Prodromou
8dcce13297 make a new NoticeList widget and call it from StreamAction
I made a new notice-list widget (like the profile list) and call it
from StreamAction. This cleans up some of the mess in the various
notice-stream-showing classes.

I also changed show-stream so it uses a subclass of NoticeList that
doesn't show author info (which is unnecessary).

darcs-hash:20081211231252-5ed1f-ee6e551ed5a029406748120f12e2ff57c4a86493.gz
2008-12-11 18:12:52 -05:00
Sarven Capadisli
d3f0a9eeee Setting nudge XHR response to utf-8 and indenting
darcs-hash:20081211212046-efd22-5face1c2bfaf0dd43dc7ffcc4eec639fdb4b5fe5.gz
2008-12-11 16:20:46 -05:00
Sarven Capadisli
8dd513a8e4 Standardising XHR responses to utf-8 and indenting
darcs-hash:20081211211814-efd22-a41a2b123fcd08945370e868431dc1b2feda4dfe.gz
2008-12-11 16:18:14 -05:00
Zach Copley
64c57b7c77 Fix bad arguments that were throwing PHP warnings
darcs-hash:20081211203659-7b5ce-43cfb2067c296374779a532410f186c42e8d2f99.gz
2008-12-11 15:36:59 -05:00
Zach Copley
466e8d1ed1 Array needs initializing before it's returned. How did this code ever work?
darcs-hash:20081211022557-7b5ce-8040947f258db638bd68fe2620381b3c078a4c31.gz
2008-12-10 21:25:57 -05:00
Evan Prodromou
06f99d4b55 add User-Agent to OMB requests
darcs-hash:20081211185525-5ed1f-ea300a9f824163ea7989baae4e4b439e58fd0881.gz
2008-12-11 13:55:25 -05:00
Evan Prodromou
897aa87c8a better output in subscribe
darcs-hash:20081211183756-5ed1f-d4c430397d6356ede7873d3790a61fd822a96e60.gz
2008-12-11 13:37:56 -05:00
Evan Prodromou
3210cd69cc set jabber and sms flags on subscriptions
darcs-hash:20081210024416-5ed1f-ec3b22136883f66c49473a10e09c06b6b9573a22.gz
2008-12-09 21:44:16 -05:00
Evan Prodromou
b9fdc2c419 resolve conflicts
darcs-hash:20081210014619-5ed1f-b78d0990f80f7fee6f31424bc1e366d08767af9d.gz
2008-12-09 20:46:19 -05:00
Zach Copley
407ce3bd8f New AjaxWebChannel for returning ajaxy responses to notice input box commands
darcs-hash:20081209210654-7b5ce-2ef432aa8cb7bf5cc1a973a71eb70e6b2aae4ab6.gz
2008-12-09 16:06:54 -05:00
Zach Copley
792cb7a535 fix registration bug - fatal error when sending email confirmation
darcs-hash:20081209082750-7b5ce-6d06a7b1cda2a9afb6ce8ea64d65df81cc063139.gz
2008-12-09 03:27:50 -05:00
Zach Copley
1a8869424b trac750 Use Facebook dialogs for success and error messages during initial setup / login
darcs-hash:20081208015412-7b5ce-c899a3b743621f7d003b93f383b78a2c8ba9fb52.gz
2008-12-07 20:54:12 -05:00
Zach Copley
ff766572e7 trac750 Remove foreign link when Facebook user removes our app
darcs-hash:20081208005522-7b5ce-84325ed13fd5e59ac07640089806a507c7168170.gz
2008-12-07 19:55:22 -05:00
Zach Copley
bdb27cfce8 trac750 - linked in CSS file and added CSS for profile box
- added button for adding a box to the profile on settings

darcs-hash:20081207235925-7b5ce-224fd2482f66c2c9ac9da9ce72c1c0da0243bd83.gz
2008-12-07 18:59:25 -05:00
Zach Copley
dccf8374cf trac750 - Exoskeleton of a nascent Facebook app
darcs-hash:20081206030132-7b5ce-96c38ab67edd3d58f8722ef25852a6143f05a86b.gz
2008-12-05 22:01:32 -05:00
Zach Copley
92ea88fd60 trac540 - Add 'since' param to Twitter-compatible API calls
darcs-hash:20081209055345-7b5ce-e48fd4c87963b8ae15859fd03d2f1f86a16f3a2b.gz
2008-12-09 00:53:45 -05:00
Evan Prodromou
ed70d73c1b pass returnto info from subscribers to block form
darcs-hash:20081208201453-5ed1f-fe423d57a54d482b95c0dc22ab46e6e0a5ea060a.gz
2008-12-08 15:14:53 -05:00
Evan Prodromou
fa81041ec7 correctly init the document type for block API actions
darcs-hash:20081208193939-5ed1f-3275ec50dd2dbb23689710f9e52a071bcba94cc9.gz
2008-12-08 14:39:39 -05:00
Evan Prodromou
ef3d487ae0 enable block API
darcs-hash:20081208185728-5ed1f-8d5f6be6decfbb50deb4ca50bee13404d0c51b72.gz
2008-12-08 13:57:28 -05:00
Evan Prodromou
cd5eec767a add an unblock form
darcs-hash:20081208173722-5ed1f-fcdcb49e4958854ce9872beecee409737cacecb5.gz
2008-12-08 12:37:22 -05:00
Evan Prodromou
ef0b45c0f1 error in figuring out actions to return to
darcs-hash:20081208172812-5ed1f-58ce42160f0ea5330de578c310897906d0012c5c.gz
2008-12-08 12:28:12 -05:00
Evan Prodromou
17fd7b1850 add returnto information to the block form
darcs-hash:20081208170931-5ed1f-e7c5853e6a222b04723f20c01ebaae15eeab3687.gz
2008-12-08 12:09:31 -05:00
Evan Prodromou
2ced62bd7e change element_start to element for instructions
darcs-hash:20081208072629-5ed1f-90935f7a2a3d99a4c21b6390eb3fc941117c2580.gz
2008-12-08 02:26:29 -05:00
Evan Prodromou
96128353d0 return true from block action
darcs-hash:20081208071720-5ed1f-82ff38a26edc9254883bd22e055b7a883b07081c.gz
2008-12-08 02:17:20 -05:00
Evan Prodromou
ad3fcbce43 add header and footer
darcs-hash:20081208063056-5ed1f-ff1fdbc345395661c19699c6c76cc1d1f6ea8d25.gz
2008-12-08 01:30:56 -05:00
Evan Prodromou
3e496c19f9 fixup handle function in block action
darcs-hash:20081208062841-5ed1f-be70623070712b4877c8d2fd8aaadba33ebd2180.gz
2008-12-08 01:28:41 -05:00
Evan Prodromou
9b4df5056f add block form to subscribers list and profile page
I added a small form for blocking users to profiles in the profile
list, and also to the profile page.

I also added an action to handle the results of blocking someone.

This required some changes to the profile list class (so I could
add the block form), so I made them. And the gallery class lets its
subclasses return a subclass of ProfileList for their profile list.

darcs-hash:20081208055511-5ed1f-e2e09986bd3b9cbb6a00a0c6b94f49ea78b7bdab.gz
2008-12-08 00:55:11 -05:00
Evan Prodromou
5477532ea3 don't allow remote subscribes from blocked profiles
darcs-hash:20081208031532-5ed1f-6094c6425b73e45589de282fa482b912fb686fae.gz
2008-12-07 22:15:32 -05:00
Evan Prodromou
fd6df5402e pass profile id for subscriptions rather than user name
darcs-hash:20081208031312-5ed1f-b570b86b28e8eda763c51be1ae091034f76bd984.gz
2008-12-07 22:13:12 -05:00
Evan Prodromou
6e856cf7ee remove favoritedrss
I've removed the favoritedrss action, and removed the links from the
favorited page.

Most-favorited is not a good candidate for an RSS format. RSS works
well for series that work sequentially -- new things always come in at
the top.

This just isn't the case with "most favorited". The favorited notices
list on Identi.ca is sorted by how many times a message is favorited.

What happens if a notice used to be on that list, then falls off
because other messages get more faves, then gets back on because it
gets faved again? Or if a notice moves "up" on the list?

darcs-hash:20081207165900-84dde-23afe73c9c61cfb259ec5dc0cac5030643b31f2c.gz
2008-12-07 11:59:00 -05:00
csarven
33a054ccc0 trac855 trac856 and Feed list for the Favorited page
darcs-hash:20081205221402-eefa4-9c765fe3c7a6e0cf9cdee1749ed2bebb24d3deaf.gz
2008-12-05 17:14:02 -05:00
millette
6eb5060621 done delete own profile (see other settings)
darcs-hash:20081204180233-099f7-7728ee57876b789278aa1cc35f54e0a422593e5d.gz
2008-12-04 13:02:33 -05:00
millette
2c7518873e moving delete profile to its own space.
darcs-hash:20081203192658-099f7-37d26abf7409ab2996a22de4aa71cb7a5f68d205.gz
2008-12-03 14:26:58 -05:00
millette
51dda41211 delete user and all traces from the db.
darcs-hash:20081203164942-099f7-ea511948139c9c18b1c8b7de018aa4f0ee5ff624.gz
2008-12-03 11:49:42 -05:00
csarven
2670324ca8 Using abbr.published @title and ISO8601
darcs-hash:20081203220637-eefa4-5a9db2b3b178c6a7e4edb43b72c392215ed3e004.gz
2008-12-03 17:06:37 -05:00
Evan Prodromou
64411ff957 prepare the action obj for API
darcs-hash:20081203210358-5ed1f-3ff0de9c00c72de6bde703b150b24597ff8fadf4.gz
2008-12-03 16:03:58 -05:00
Evan Prodromou
6c9031cc7b don't allow new users if the site is closed or invite only in OpenID
darcs-hash:20081203185022-5ed1f-a618527f069301c34b3fd6a75ae5676f45e64d39.gz
2008-12-03 13:50:22 -05:00
Evan Prodromou
8c10b0ac4d fine-tuning the privacy flag
darcs-hash:20081203183432-5ed1f-7626661b797f64594f990ee06d9e13b73b265b49.gz
2008-12-03 13:34:32 -05:00
Evan Prodromou
acb00a903e unsubscribe from a remote profile
darcs-hash:20081203180945-5ed1f-747b3c0e00ced81c02953e1095a9b866a7876c43.gz
2008-12-03 13:09:45 -05:00