Meitar Moscovitz
beddf90663
Trigger only on handheld device screens, not on browser screens, d'oh!
2009-02-11 03:12:14 +11:00
Meitar Moscovitz
c9e8b1e5c3
Add streamlined mobile device-friendly styles when enabled in config.
...
A new mobile-specific style sheet is added and loaded only if the
`$config['site']['mobile']` configuration variable is set to true.
2009-02-11 03:03:16 +11:00
Meitar Moscovitz
b240a17194
Beginning to refactor document relationship links to reduce common code.
...
My attempts here are to mimic the `pagination()` method shared by
actions. I'm tentatively adding the `$count` property to actions so that
we can query the number of notices ''being displayed'' per page prior to
calling the actual `pagination()` method itself, since document
relationship `<link>` elements need to be output inside of `showHead()`,
before `showContent()`, which is where `pagination()` is, gets called.
2009-02-10 20:25:44 +11:00
Meitar Moscovitz
3585012380
Merge branch 'dev-0.7.x' into link-rel-paginate
2009-02-10 18:28:12 +11:00
Sean Murphy
d8ed013612
Merge commit 'upstream/0.7.x' into 0.7.x
2009-02-09 20:18:27 -05:00
Sean Murphy
55fcc150fe
Fixed #1025 : Delete avatar option.
2009-02-09 20:17:56 -05:00
Sean Murphy
cf29ef2bc4
Fixed remaining substr_replace with multibyte equivalent.
2009-02-09 19:15:30 -05:00
Evan Prodromou
80429ca70c
Fixed remote subscribe avatar problems
...
Had some Avatar file-copying issues; seem to be fixed.
2009-02-09 18:18:28 -05:00
Evan Prodromou
47a5d2b7f0
Fixed remote subscribe avatar problems
...
Had some Avatar file-copying issues; seem to be fixed.
2009-02-09 23:13:11 +00:00
Robin Millette
0d58652487
trac #1160 fix dropdown xmloutput function for the selected attribute and fix newmessage auto-selected dropdown.
2009-02-09 17:40:01 -05:00
Sean Murphy
bdd9f6ce1d
Merge commit 'upstream/0.7.x' into 0.7.x
2009-02-09 17:29:39 -05:00
Sean Murphy
f6705f06c0
Fixed #1170 : Auto-linking bug when URL cotains special chars.
2009-02-09 17:29:27 -05:00
Evan Prodromou
32744124bc
Add a hook for showing sidebar sections
2009-02-09 16:56:38 -05:00
Evan Prodromou
2393fbec60
add some indices for performance
2009-02-09 14:47:23 -05:00
Meitar Moscovitz
8cb3035b89
Merge branch 'dev-0.7.x' into link-rel-paginate
2009-02-10 05:05:04 +11:00
Zach Copley
3e005f2d1b
"Change your email address..." msg was printing out \n instead of a newline
2009-02-09 12:45:23 -05:00
Robin Millette
09d8a73ece
trac #1155 ++ replace strlen with mb_strlen for all utf8 strings.
2009-02-09 12:45:03 -05:00
Zach Copley
37a1a6b9d8
Safer, better script for automatically updating Facebook statuses
2009-02-09 12:44:36 -05:00
Zach Copley
ddb67cda17
Trac #1159 : Fix peopletag pagination. Also phpcs cleanup.
2009-02-09 12:44:17 -05:00
Zach Copley
bb13d89642
Minor update to the way Facebook app handles listing of friends you've invited.
2009-02-09 12:44:03 -05:00
Zach Copley
28ef2ccf42
Ticket #1094 Facebook app invites page was failing if no friends had added the app yet
2009-02-09 12:43:15 -05:00
Evan Prodromou
20bfa6daed
upgrade jQuery from 1.3 to 1.3.1
2009-02-09 12:40:23 -05:00
Evan Prodromou
e5bad15264
upgrade jQuery from 1.3 to 1.3.1
2009-02-09 12:39:03 -05:00
Evan Prodromou
42e3c928dd
ignore .#* files
2009-02-09 12:29:10 -05:00
Evan Prodromou
c87a0c3f58
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
2009-02-09 12:09:44 -05:00
Evan Prodromou
9b7c57d094
whitespace and formatting in showstream.php
2009-02-09 12:07:21 -05:00
Evan Prodromou
c1bc77efd9
whitespace and formatting
2009-02-09 12:06:06 -05:00
Evan Prodromou
73b8de7c4c
Merge branch 'sgmurphy-clone/0.7.x' into 0.7.x
2009-02-09 12:03:45 -05:00
Evan Prodromou
9e23b5c5d7
Change action autoloading to allow actions in plugins
...
Since plugins may define custom actions, we shouldn't require that
there be a file in our actions/ subdir for every action. So, I changed
the (admittedly hackish) auto-loading code in index.php so it instead
checks whether a class exists with the expected name. This, in turn,
uses the increasingly hacking __autoload() function, which I changed
to auto-load stuff named "BlahblahAction" from the actions subdir if
available.
2009-02-09 11:46:26 -05:00
Robin Millette
43888b5239
trac #1160 fix dropdown xmloutput function for the selected attribute and fix newmessage auto-selected dropdown.
2009-02-09 15:35:38 +00:00
Evan Prodromou
09bab90409
Merge branch '0.7.x' into 0.8.x
2009-02-09 09:57:39 -05:00
Evan Prodromou
a476805dd9
give example of using Google Analytics
2009-02-09 09:20:55 -05:00
Evan Prodromou
2e518c9d5e
Sample plugin for Google Analytics
...
A common request is to use Google Analytics for Laconica servers. This
plugin will add the correct spell to make Google Analytics work.
2009-02-09 09:14:44 -05:00
Evan Prodromou
ee4ee388ff
include plugin.php early so config can use it
2009-02-09 08:49:28 -05:00
Evan Prodromou
dce975e33b
allow events without arguments
2009-02-09 08:48:50 -05:00
Evan Prodromou
175f1e7395
utility superclass for plugins
2009-02-09 08:47:11 -05:00
Evan Prodromou
f4e8cc6d9f
Add InitializePlugin and CleanupPlugin events
...
We add two events to allow plugins to initialize and cleanup.
2009-02-09 08:44:30 -05:00
Evan Prodromou
5d246299b6
add hooks for JavaScript handling
2009-02-09 08:24:23 -05:00
Evan Prodromou
60bf87bb34
notes about existing events; should probably put this in a separate doc
2009-02-09 08:11:52 -05:00
Evan Prodromou
05991e2206
First events for adding menu items
2009-02-09 08:02:23 -05:00
Evan Prodromou
e40d503dfb
had the logic on event handler reversed
2009-02-09 08:02:08 -05:00
Evan Prodromou
55cba5007e
Fix indentation in lib/action.php
2009-02-09 07:51:23 -05:00
Evan Prodromou
e29ebc18c7
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
2009-02-09 07:26:17 -05:00
Evan Prodromou
5466f6a6d0
Better exception handling in index
...
Some better exception handling in Web entry point.
2009-02-09 07:25:35 -05:00
Evan Prodromou
aa06d760b3
Index and Action use Exceptions
...
Main Web entry point accepts exceptions, and main code in Action
throws them.
2009-02-09 07:15:52 -05:00
Evan Prodromou
9152c0bdc8
First steps to using exceptions for error handling
...
Added two exception classes: one for client errors (= user can fix) and
one for server errors (only admin or coder can fix). The web entry point
now tries to catch exceptions and show them in the browser. The main
code for showing errors in Action class now throws an exception and lets
top-level handle it.
2009-02-09 07:12:08 -05:00
Evan Prodromou
12d7c30ef7
Add event.php before config.php is called
2009-02-09 06:52:39 -05:00
Evan Prodromou
b1f9dec20e
First events code
...
Add the basic code for adding events.
2009-02-09 06:51:08 -05:00
Zach Copley
c604fa8d37
Ticket #1094 Facebook app invites page was failing if no friends had added the app yet
2009-02-08 23:07:56 +00:00
Zach Copley
00fda7ae5f
Minor update to the way Facebook app handles listing of friends you've invited.
2009-02-08 21:58:25 +00:00