Craig Andrews
9349d823ee
Add FirePHP plugin - uses FirePHP as an output method for logging
2009-12-05 02:13:40 -05:00
Craig Andrews
2ab01e040e
Add 2 new events to enable logger pluginization: StartLog and EndLog
2009-12-05 02:11:27 -05:00
Craig Andrews
51f0dd5e37
Add configuration option to toggle the indenting of the output HTML. Defaults to indent enabled.
2009-12-05 01:03:04 -05:00
Craig Andrews
c08d7f1aa4
Minify inline JS and CSS (can be disable in configuration)
2009-12-05 00:41:22 -05:00
Craig Andrews
88e50003ae
If a theme server is being used, do not minify theme CSS (as doing so could cause 404s)
2009-12-04 23:17:46 -05:00
Craig Andrews
f4fc8481e2
Separate out some common code
2009-12-04 23:17:19 -05:00
Craig Andrews
fa66755508
Append the StatusNet version to all local, static CSS references
2009-12-04 22:05:18 -05:00
Craig Andrews
d41a0a5ed0
Use inlineScript() instead of element() to write inline javascript
2009-12-04 20:33:41 -05:00
Craig Andrews
675e32ac9a
use cssLink() instead of element() to write out references to CSS
2009-12-04 20:21:05 -05:00
Craig Andrews
d31b1d774e
use the new htmloutputter->style() function
2009-12-04 20:20:44 -05:00
Craig Andrews
b3086d3c68
Add style function to output style() tags
...
Add 2 new events: StartStyleElement and EndStyleElement
2009-12-04 20:19:55 -05:00
Craig Andrews
7ddf911f5d
Add 2 new events: StartInlineScriptElement and EndInlineScriptElement
2009-12-04 19:51:44 -05:00
Craig Andrews
847013db69
only write the javascript CDATA blocks if the type is javascript (it's not the correct syntax for other languages)
2009-12-04 19:44:45 -05:00
Craig Andrews
4c8bed8ba0
Use inlineScript() everywhere inline scripts are written
2009-12-04 19:41:51 -05:00
Craig Andrews
aab7344002
Merge branch 'minify' into 0.9.x
2009-12-04 18:44:26 -05:00
Zach Copley
1fd7e5e379
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-12-04 22:43:34 +00:00
Zach Copley
4881be47c7
Don't depend on a User being available when looking up Design and timezone
...
for a profile (because some profiles are remote, etc.)
2009-12-04 22:42:09 +00:00
Evan Prodromou
5c973876ac
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-12-04 16:30:33 -05:00
Evan Prodromou
098426cee9
configurable expiry for cached Geonames data defaults to 90 days
2009-12-04 16:25:05 -05:00
Zach Copley
eb0a5977ff
Don't try to broadcast the notice if something went wrong.
2009-12-04 20:39:50 +00:00
Evan Prodromou
41f10b742c
remove duplicate log() function from RealtimePlugin
2009-12-04 15:34:41 -05:00
Evan Prodromou
e074fe6599
add logging utilities to Plugin class
2009-12-04 15:34:25 -05:00
Evan Prodromou
99b23782ef
let Geonames clients use commercial Web service
2009-12-04 15:30:43 -05:00
Brion Vibber
4afe07f0c3
Merge commit 'refs/merge-requests/108' of git://gitorious.org/statusnet/mainline into 0.9.x
2009-12-04 12:23:33 -08:00
Zach Copley
0177b386d8
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-12-04 20:18:42 +00:00
Zach Copley
cff12603cf
Make imported Twitter notices show up via real time plugins.
2009-12-04 20:17:42 +00:00
Evan Prodromou
e7e9dfceb4
remove unnecessary debugging code from mapstraction output
2009-12-04 14:36:24 -05:00
Evan Prodromou
a92228c713
Update Mapstraction to properly scrape data from notice-list pages
...
Refactored the JavaScript for Mapstraction use so it scrapes data from
the HTML of the page it's on, if possible, and otherwise generates a
JSON array.
2009-12-04 14:31:19 -05:00
Evan Prodromou
2c07d4a530
utility function to output inline JavaScript
2009-12-04 13:39:51 -05:00
Craig Andrews
01b089d9be
Added minify plugin
2009-12-04 12:36:00 -05:00
Craig Andrews
40afc7e987
Add 4 new events: StartCssLinkElement, EndCssLinkElement, StartScriptElement, EndScriptElement
2009-12-04 01:57:14 -05:00
Zach Copley
d2b42577de
Was deleting wrong subscription during block. Now deletes the blockee's sub if it exists.
2009-12-03 17:44:34 -08:00
Zach Copley
2acdfff58b
Merge branch '0.9.x' of gitorious.org:statusnet/mainline into 0.9.x
...
* '0.9.x' of gitorious.org:statusnet/mainline:
Remove unnecessary pass by reference indicators
refactor the common parts of usermap and allmap into a common base class
Load notice data using javascript from the html on the page instead of writing json representations of the notices on each page
2009-12-03 17:13:54 -08:00
Zach Copley
aef4cc0a59
Make it impossible to block (and thus unsubscribe from your
...
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-12-03 17:06:58 -08:00
Craig Andrews
35ff3961e8
Remove unnecessary pass by reference indicators
2009-12-03 19:59:31 -05:00
Craig Andrews
567bd6c0c2
Merge branch 'mapsimprovement' into 0.9.x
2009-12-03 19:45:29 -05:00
Craig Andrews
43a1a35524
refactor the common parts of usermap and allmap into a common base class
2009-12-03 19:43:02 -05:00
Brion Vibber
c89b10ffe4
Code style cleanup: dropped some unnecessary =& reference assignments where they're used only out of habit for PHP 4-style object semantics
2009-12-03 12:58:48 -08:00
Craig Andrews
e3caec9d8a
Load notice data using javascript from the html on the page instead of writing json representations of the notices on each page
...
Clicking on a geo link pops up a map (round 2)
2009-12-02 21:24:41 -05:00
Zach Copley
9e0f89ba4f
Merge branch 'fix-default-design' into 0.9.x
...
* fix-default-design:
Reload the admin design panel page to show the new CSS when the
Only pick up new default site colors if the theme has NOT changed.
2009-12-02 18:09:24 -08:00
Zach Copley
56b3e13d4a
Reload the admin design panel page to show the new CSS when the
...
design gets reset.
2009-12-02 18:05:19 -08:00
Zach Copley
bb2311ea18
Only pick up new default site colors if the theme has NOT changed.
2009-12-02 17:50:51 -08:00
Zach Copley
bf63734359
Merge branch 'fix-default-design' into 0.9.x
2009-12-03 00:54:46 +00:00
Zach Copley
f55b0e9b3d
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
2009-12-03 00:54:30 +00:00
Zach Copley
4f359d2a8b
Delete design when user chooses to restore default design, instead
...
of saving a design with site defaults.
2009-12-02 16:44:23 -08:00
Siebrand Mazeland
3e38d376a9
Localisation updates for !StatusNet from !translatewiki.net !sntrans
2009-12-03 00:38:22 +01:00
Siebrand Mazeland
5edc27be6e
Do not rebuild/add .mo files by default
...
FIXME: should be made a command line parameter.
2009-12-03 00:28:00 +01:00
Sarven Capadisli
ad8d6c8fbf
If an XHR notice is sent form a page that has no timeline, show a
...
message like 'Notice sent'
2009-12-02 23:41:58 +01:00
Sarven Capadisli
62d5f05669
Revert "If the page doesn't have .notices, silently skip the notice XHR response"
...
This reverts commit 7b550f386a
.
2009-12-02 23:25:38 +01:00
Sarven Capadisli
5963c140d6
Revert "Clear/reset the XHR notice form on pages where there is no timeline"
...
This reverts commit d318976342
.
2009-12-02 23:25:17 +01:00