summaryrefslogtreecommitdiff
path: root/lib/action.php
AgeCommit message (Collapse)Author
2010-11-02Use SN.msg() and onEndScriptMessages() to export localized UI messages from ↵Brion Vibber
Realtime plugin and its descendents.
2010-11-02Tossing in a basic i18n message export to script code. Plugins can hook ↵Brion Vibber
StartScriptMessage/EndScriptMessage, or directly add needed mappings in Action::getScriptMessages(). Exported entries are accessible as SN.msg(key) at runtime. StatusNet core code now sets the tooltip text on .attachment.more links when they receive their attachment-expansion magic; this will override the hardcoded tooltip text saved from OStatus plugin when displaying timelines in the web UI.
2010-10-22Normalize HTML body ids to lowercase when the user is logged out as well.Zach Copley
2010-10-21Normalize all action HTML body ids to lowercaseZach Copley
2010-10-21* translator documentation added.Siebrand Mazeland
* moved some translator comments that were not directly above the line with the message to the correct location. * i18n for UI text. * superfluous whitespace removed.
2010-10-20Fix for ticket #2845: singleuser nickname configuration was being overridden ↵Brion Vibber
by site owner in router setup. I've consolidated the checks for which user to use for single-user mode into User::singleUser(), which now uses the configured nickname by preference, falling back to the site owner if it's unset. This is now called consistently from the places that needed to use the primary user's nickname in routing setup. Setting $config['singleuser']['nickname'] should now work again as expected.
2010-10-14make the logo be compatible with HTTPS pages, if possibleEvan Prodromou
2010-10-14use HTTPS for favicon.ico if page is HTTPSEvan Prodromou
2010-10-14try and show an SSL image for the creative commons imageEvan Prodromou
2010-10-07Events for showing the notice formEvan Prodromou
2010-09-29* i18n/L10n and translator documentation updates.Siebrand Mazeland
* whitespace and indentation updates
2010-09-21Merge branch 'master' into 0.9.xBrion Vibber
2010-09-21change the location and title of the feeds sectionEvan Prodromou
2010-09-20Ticket #2750: fixes to HTTP caching behavior across login/logout boundariesBrion Vibber
* now ignoring if-modified-since if we failed an etag if-none-match comparison, per spec * now including a hash of user id/nickname in most etags, so we'll update the view properly after login/logout For API methods, checking the API-auth'ed user. (Many change results to include things like 'you're subscribed to this user' or 'this is one of your favorites', so user info is again needed) There'll still be some last-modified stamps that aren't including user info properly, probably.
2010-09-13* update/add translator documentationSiebrand Mazeland
* remove superfluous whitespace
2010-09-08Pragma was accidentally triggering some underwear-catapult-connected hardwareEvan Prodromou
2010-09-02Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.xEvan Prodromou
2010-09-02use etag preferably for cachingEvan Prodromou
2010-09-02add some caching headersEvan Prodromou
2010-09-02combine our standard scripts into one big scriptEvan Prodromou
2010-09-02Merge branch 'master' into testingBrion Vibber
2010-09-02Ticket #2638: allow themes to specify a base theme to load with 'include' ↵Brion Vibber
setting in a theme.ini file
2010-09-02hooks for showing <title> and <h1> elementsEvan Prodromou
2010-06-11Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
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-04-19Merge branch 'testing' into 0.9.xBrion 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-10Add translator documentation for a few filesSiebrand Mazeland
* added a few XXX (that's StatusNet for FIXME, right?) ** proposing de-duplication of a message appearing ~50 times ** marking bad pagination implementation * moved the TRANS: comments in action.php down to exactly before the line in which the message appears. Otherwise gettext does not put them in the pot file * fixed a XXX in action.php removing double spaces
2010-04-09Fix localization for license notice in page footer (for ticket #2274: i18n ↵Brion Vibber
cleanup)
2010-04-09Fix localization for license notice in page footer (for ticket #2274: i18n ↵Brion Vibber
cleanup)
2010-03-25Moved print inside base stylesheet using media rules. One less HTTP GET.Sarven Capadisli
2010-03-24Moved print inside base stylesheet using media rules. One less HTTP GET.Sarven Capadisli
2010-03-10Merge branch 'testing' into 0.9.xBrion Vibber
Conflicts: actions/apistatusnetconfig.php
2010-03-10Ticket #2221: fix for missing whitespace between messages in en-gb.Brion Vibber
The final whitespace should be dropped from the source messages after we've stabilized; trailing space is pretty unreliable to keep through translation tools and should be avoided. Use separator strings outside the messages!
2010-03-04Merge commit 'origin/testing' into 0.9.xBrion Vibber
Conflicts: lib/action.php lib/adminpanelaction.php
2010-03-03Fix for disappearing 'connect' menu if xmpp and sms are disabled.Zach Copley
All 'connect' menu panels used to be optional, so Action tried to figure out what the first item on the 'connect' menu should be. This is no longer necessary because we have the non-optional OAuth client connections panel now, which is not optional and can't be turned off.
2010-03-02Merge branch 'testing' of git@gitorious.org:statusnet/mainline into 0.9.xBrion Vibber
2010-03-02* Change translator documentation using _m() as designed together with BrionSiebrand Mazeland
* Add more translator documentation Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-03-01Remove un-needed config variable for enabling/disabling Twitter integrationZach Copley
2010-03-01Fix forgotten "m" in 8e102da76cc7466bffb67cb591927f123ed74c12Siebrand Mazeland
Signed-off-by: Siebrand Mazeland <s.mazeland@xs4all.nl>
2010-03-01Add contextual documentation to allow better localisation.Siebrand Mazeland
2010-03-01Change 'Home' to 'Personal' in the header.Craig Andrews
csarven indicated he accepted this change.
2010-02-26Merge branch 'blacklistplus' into testingEvan Prodromou
Conflicts: EVENTS.txt
2010-02-26'on' is what checkboxes use for boolean trueEvan Prodromou
2010-02-19Using inlineScript instead for clickjacking checkSarven Capadisli
2010-02-19Only load json2.js if native JSON is not supportedSarven Capadisli
2010-02-15Added single whitespace to separate inline text words.Sarven Capadisli
2010-01-27Optionally set a separate Javascript server and pathEvan Prodromou
We have about 10-12 JavaScript pages per Web page. They usually are based on the same server as the Web pages, but since they're static files, it makes sense to offload them to a lite server that handles static files well. This commit lets you set a separate Javascript server and path for the default Javascript code in StatusNet. Squashed commit of the following: commit 139d1622fdafe5ad00c820224416d9021efc3234 Author: Evan Prodromou <evan@status.net> Date: Wed Jan 27 11:30:24 2010 -0500 modules that call htmloutputter::script() don't prescribe js/ path commit c6ca3174af73efed55eaed5ff1e2a3bdc77d2d87 Author: Evan Prodromou <evan@status.net> Date: Wed Jan 27 11:28:07 2010 -0500 configurable server and path for javascript files
2010-01-26Single-user modeEvan Prodromou
New configuration options to define a single-user mode. This hides most of the "community" pages, like the public timeline and groups. The main user's timeline becomes the main page, and most other URLs are changed. Switching back and forth between 1-user and multi-user mode is probably hazardous. Squashed commit of the following: commit d814aa5c92d14a27a12baba7893f3f8bf63f1d08 Author: Evan Prodromou <evan@status.net> Date: Tue Jan 26 00:17:27 2010 -0500 don't show inbox and outbox in single-user mode commit 47f19b9523a7015d4c6e460b73ea32c839e00aa1 Author: Evan Prodromou <evan@status.net> Date: Tue Jan 26 00:15:22 2010 -0500 show correct URL for logo in single-user mode commit 552010cffc33eadbc512ec5a67619dbc2015239a Author: Evan Prodromou <evan@status.net> Date: Tue Jan 26 00:15:06 2010 -0500 make singleuser its own config section commit 786ab260a3ca172e57b555c75ca10946d8f258a1 Author: Evan Prodromou <evan@status.net> Date: Tue Jan 26 00:05:19 2010 -0500 make single-user mode work commit 5b21d7309b3a8dd5a4e0f29aea76f7897f1818b1 Author: Evan Prodromou <evan@status.net> Date: Mon Jan 25 23:45:55 2010 -0500 add single-user mode
2010-01-24Removed mobile stylesheet from core output. If Mobile support isSarven Capadisli
seeked, MobileProfile plugin should be used.