summaryrefslogtreecommitdiff
path: root/actions
AgeCommit message (Collapse)Author
2010-06-07Basic custom CSS and theme uploading features. 'local' subdir can now be ↵Brion Vibber
customized to a distinct directory and URL path to make it easier to separate custom themes for a multi-site farm running a common code base. Currently only one custom theme may be uploaded per site, saved with the name 'custom' and stored into the local/themes subdirectory. Administrators can upload a .ZIP archive containing a theme through the design admin panel; its contents are validated to ensure that only legit files are saved, and a 5M size quota is enforced. Theme upload requires the zip extension for PHP; if not present, theme uploading is disabled by default. Uploading and the custom CSS can be controlled via $config['theme_upload']['enabled'] and $config['custom_css']['enabled']. Configurable directory/path/server for 'local' subdirectory (currently only as used for themes; local plugins not yet switched over) Can set $config['local']['dir'] etc; not currently exposed in the admin panels. Per-site directories on a separate themes server could be set up such as: $config['local']['dir'] = '/path/to/themes/local/' . $_nickname; $config['local']['server'] = 'themes.example.com'; $config['local']['path'] = '/local/' . $_nickname; $config['local']['ssl'] = 'never';
2010-06-07break up the giant form function in design admin panel into individual ↵Brion Vibber
sections to make it a little more manageable
2010-06-03Merge branch 'master' of gitorious.org:statusnet/mainlineEvan Prodromou
2010-06-03- Fix bad argument being passed (error code) when invalid format specifiedZach Copley
- Reformat whitespace
2010-06-01Merge branch 'master' of gitorious.org:statusnet/mainlineEvan Prodromou
2010-05-28Merge branch 'master' into testingBrion Vibber
2010-05-28Bugfix: api/statuses/destroy.:format was outputting deleted noticeZach Copley
twice, causing parsers to fail.
2010-05-27Merge branch 'master' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-05-27Pass auth user into Atom feed generators (needed for outputting favorited ↵Zach Copley
status in statusnet:notice_info tag)
2010-05-21Merge branch 'master' of gitorious.org:statusnet/mainlineEvan Prodromou
2010-05-21Merge branch 'master' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-05-20Added block link to subscription notification emails; block action can now ↵Brion Vibber
take a profile ID on the URL; added profile details to block page so there's an indication of who you're blocking before you pull the trigger. Fixed typo in RedirectingAction when no return-to data provided in form submission. RedirectingAction::returnToArgs() has been renamed to returnToPrevious() to avoid conflict with Action::returnToArgs() which returns arguments to be passed to other actions as return-to arguments. All callers should now be updated. More profile settings actions will now redirect through a login form if visited as a GET request, as would be expected from a bookmark, link sent in e-mail etc.
2010-05-19Merge branch 'master' of gitorious.org:statusnet/mainline into testingBrion Vibber
2010-05-18Remove errant double HTML entity encoding in API source attributionZach Copley
2010-05-18HTML entity encode source link URLs in plain XML output and add ↵Zach Copley
rel="nofollow" to them
2010-05-18Refactor and centralize notice source link calculationZach Copley
2010-05-18Redirect non-SSL hits to login & register actions to SSL if 'always' or ↵Brion Vibber
'sometimes' SSL modes are kicked in. The forms would already submit to SSL, but people are happier if they start on a secure page! Note: this really should be done for sensitive/all URLs in index.php, but it seems a bit awkward to reconstruct the SSL version of the link atm. Cleanup todo!
2010-05-18invalid mbox_sha1sum in the case where users don't have an email addressJames Walker
(reported by pedantic-web.org)
2010-05-13More direct text for registration licensing/tos checkbox for private and ↵Brion Vibber
all-rights-reserved sites.
2010-05-08Fix for repeats from the API having null source attributionZach Copley
2010-05-05Implement since_id and max_id param handling for /api/favoritesZach Copley
2010-04-30Merge branch 'master' of gitorious.org:statusnet/mainlineEvan Prodromou
2010-04-22Add statusnet: prefix for API to JSON and XML outputEvan Prodromou
I added the statusnet: prefix to the xml output. This prefix should be declared on the root element of all relevant XML output. I also added two StatusNet-specific fields: * statusnet:html - rendered HTML. Clients shouldn't have to guess at the correct HTML rendering for notices, especially since some of the links depend on context. * statusnet:profile_url - profile URL for a user. You can't count on a user being a local user in a distributed microblogging world. So, this shows the explicit profile_url.
2010-04-19Merge branch 'master' into testingBrion Vibber
2010-04-19Fix ticket #2289: registration links were showing in top nav bar, login page ↵Brion Vibber
message when site set to invite-only or closed registration, when the 'register' action can't be used.
2010-04-09Fix inconsistencies in clientError() messagesSiebrand Mazeland
* use correct punctuation * single quotes when replace was possible * wording updated when needed
2010-04-09Update message formatting for serverError to use a starting capital and a ↵Siebrand Mazeland
leading period.
2010-04-09Clean up badly formatted strings in OembedActionBrion Vibber
2010-04-09Merge branch 'master' of git@gitorious.org:statusnet/mainline into testingBrion Vibber
2010-04-09fix attributes on homepage outputEvan Prodromou
2010-04-09i18n cleanup: fix bad string breakdown in license agreement checkbox on ↵Brion Vibber
registration form. Note that much of that form is duplicated several times for Twitter, Facebook, and OpenID registrations -- these need to be refactored to avoid having multiple out-of-sync copies of code and messages.
2010-04-09Cleanup bad i18n format for page title on bookmarklet posting windowBrion Vibber
2010-04-09Avoid E_NOTICE spew when listing group members who aren't adminsBrion Vibber
2010-04-09Undefined Variable in foafgroup.phpChristopher Vollick
Probably just left over from the past.
2010-04-09Avoid E_NOTICE spew when listing group members who aren't adminsBrion Vibber
2010-04-09Undefined Variable in foafgroup.phpChristopher Vollick
Probably just left over from the past.
2010-04-08Maintain 'page' parameter for block from subscribers list, block & ↵Brion Vibber
make-admin from group members list. Refactored some of the returnto handling code. It looks like we have several different ways of handling this in the software, icky! Marked the session-based functions with fixmes (they'll stomp on other forms when multiple tabs/windows are used) and combined some commonish bits of code between ProfileFormAction and the group block & makeadmin actions where they're using hidden form parameters. Extended that to allow passing dynamic parameters (eg 'page') as well as static ones (action, target user/group).
2010-04-05Merge branch 'master' into testingBrion Vibber
2010-04-05use nofollow for subscribers listEvan Prodromou
2010-04-05use nofollow for group members listEvan Prodromou
2010-04-05use homepage link attributes method for peopletaglistEvan Prodromou
2010-04-05Merge branch 'nofollow'Evan Prodromou
2010-04-05nofollow for peopletag pagesEvan Prodromou
2010-04-05override linkAttributes() method for groupmembersminilistEvan Prodromou
2010-04-05add an event for group members minilistEvan Prodromou
2010-04-03Ticket #2272: Block confirmation form should let enter trigger the 'yes' buttonBrion Vibber
Setting focus into the form to make it easier to submit by keyboard. Enter or space will now trigger the button right off without having to mouse around to find the button after we've clicked into the conf form, and keyboarders can also get to the 'no' button more easily.
2010-04-03Ticket #2272: Block confirmation form should let enter trigger the 'yes' buttonBrion Vibber
Setting focus into the form to make it easier to submit by keyboard. Enter or space will now trigger the button right off without having to mouse around to find the button after we've clicked into the conf form, and keyboarders can also get to the 'no' button more easily.
2010-04-02Merge branch 'master' into testingBrion Vibber
2010-04-01Revert "Revert "if user allows location sharing but turned off browser ↵Evan Prodromou
location use profile location"" This reverts commit 8b24ad8a9c681585e95612084eb629df8b364b74.
2010-04-01Revert "if user allows location sharing but turned off browser location use ↵Evan Prodromou
profile location" This reverts commit 4b80ce0be89fe50eabec1a19dbf4a0c26a413423.