Commit graph

100 commits

Author SHA1 Message Date
Zach Prezkuta
1f09e7ad23 Modify Javascript to improve page loading times
1. Add template category 'end' that places content right before final </body> tag
	2. Move most Javascript from tpl files into one cacheable file, theme.js
	3. Load scripts at end of the HTML document instead of in the header
	4. Minify several Javascript files

Note that the second and third things were only done for Frost and Frost Mobile. Doing it for every theme means going through every .tpl for every theme and rearranging the Javascript, which is tedious.
2012-07-28 09:57:16 -06:00
friendica
e9aba87d76 add plugin hooks to every module_function (allows plugins to be triggered off specific pages/urls) 2012-06-18 20:57:43 -07:00
friendica
30295926b9 make sure default timezone is set in external processes 2012-06-11 19:52:46 -07:00
friendica
3811fe288f rename get_language() to get_browser_language() 2012-05-13 04:52:29 -07:00
friendica
d48cd0f9a3 hidden plugins (add .hidden file to dir) 2012-04-30 23:07:52 -07:00
friendica
f4ea764aaf zrl hook 2012-04-14 04:54:26 -07:00
friendica
3380ff3240 Merge pull request #223 from campino/master
bug fix
2012-04-10 15:21:37 -07:00
Alexander Kampmann
64cf2d089a fixed install bug 2012-04-10 17:10:24 +02:00
friendica
4c3b835307 path to default.php in theme dir was incorrect 2012-04-10 01:51:53 -07:00
Alexander Kampmann
7ac4b83c39 made exceptions from the db optional
set address for updae mails correctly
2012-04-09 14:04:49 +02:00
Alexander Kampmann
0d60dbef31 added exceptions to dba class
added exception handling to index.php, please mind that there is no
recovery at the moment
added transactions to db update. Please mind that they might not be
supported by db table engines. 
added admin email on failed updates

added german translation for admin email
2012-04-09 00:45:10 +02:00
friendica
5c04469755 prepare for using a master theme_init() 2012-04-08 06:20:57 -07:00
friendica
741a5dba57 provide theme_init() functions 2012-04-08 05:52:00 -07:00
Alexander Kampmann
355c42cb30 Merge branch 'master' of https://github.com/friendica/friendica
Conflicts:
	include/config.php
	update.php
2012-04-05 13:39:15 +02:00
friendica
62e528ba43 remove zrl from query string 2012-04-02 00:45:45 -07:00
friendica
7df6ab9a87 add page_content_top hook 2012-04-01 22:22:26 -07:00
friendica
e2c295c01f another silly mistake 2012-03-29 21:44:30 -07:00
friendica
bb8beb26b4 use zrl to get home again 2012-03-29 20:58:32 -07:00
friendica
7ee07daf04 use theme directory for page templates, not language directory 2012-03-27 18:39:52 -07:00
Alexander Kampmann
9ba5fff865 new lines removed 2012-03-22 13:05:34 +01:00
Alexander Kampmann
43f672877f removed some new lines to cut down number of changed files 2012-03-22 13:03:28 +01:00
Alexander Kampmann
ad9d0dadb3 removed unneccessary stuff 2012-03-22 12:52:24 +01:00
Alexander Kampmann
9796e99fa8 added simple build-in profiling 2012-03-15 11:45:06 +01:00
friendica
8aa2552372 add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit) 2012-01-18 16:21:30 -08:00
friendica
4f254ffb5b system support for personal configurable ajax update interval 2011-12-11 20:32:43 -08:00
friendica
fa4742e6ee comment boxes not work in alternate languages 2011-11-17 15:42:56 -08:00
friendica
02b11c5d59 several little nits in the hcard template output which could affect parsers 2011-11-12 12:28:21 -08:00
Friendika
9ec4f6e0c9 rename 2011-11-12 04:21:14 -08:00
Friendika
d0f45bf281 apps broken in all themes, apps link misplaced in testbubble 2011-09-28 04:19:42 -07:00
Fabio Comuni
e9638b6980 Adds theme info file to define 'parent' theme from where load tpl files 2011-09-27 09:32:20 +02:00
Fabio Comuni
5792b3d358 Merge branch 'master' into newui 2011-09-26 11:42:48 +02:00
Friendika
542aa22eb9 provide ability to unset session language 2011-09-21 16:00:17 -07:00
Fabio Comuni
991656a3ef Show "404.tpl" instead of using 'notice()' in case of 404 2011-09-19 11:52:32 +02:00
Fabio Comuni
abd65e00ab Load infos and notices via ping and show them with js popup 2011-09-05 14:01:21 +02:00
fabrixxm
07b6c868b3 remove javascript to set selectect nav item. enanche img template prefetch ignoring 2011-08-17 18:36:24 +02:00
Friendika
7952961222 diaspora probe/scrape changes 2011-08-14 18:13:52 -07:00
Friendika
94e027af67 deal with browser pre-fetch of the ACL img template '{0}' 2011-07-26 19:20:29 -07:00
Friendika
f3bd216112 bug #104 2011-07-17 21:34:02 -07:00
Friendika
db30a2342c undo last checkin 2011-07-05 18:21:56 -07:00
Friendika
1a4a6b5ff9 explicitly close db connections - do not rely on process exit 2011-07-05 17:45:33 -07:00
Friendika
994011ddb6 load db configs (config,system) for all "executables" 2011-06-30 01:15:18 -07:00
Friendika
29c57f7ad2 don't load configs if no database. 2011-06-27 17:18:13 -07:00
Fabio Comuni
afd0f8e4d8 load $a->config from db 2011-06-13 12:51:36 +02:00
Friendika
78b2db3a98 Merge branch 'fabrixxm-master'
Conflicts:
	boot.php
2011-05-23 18:17:02 -07:00
Friendika
3e6180183b improved browser language detect, set user language on login 2011-05-23 17:18:36 -07:00
Fabio Comuni
e1107b55c6 add info() function. Works like notice() but show messages in a div with class info-message.
update code to use info() instead of notice() when appropriate (non-error message)
add info-message class style in themes
2011-05-23 11:39:57 +02:00
Friendika
59fd70e568 issues with private photos - hitting internal size limits 2011-05-04 02:20:44 -07:00
Friendika
9b50b0e16f Public exposure warning on affected network group pages. config-able so a plugin can shut it up. 2011-04-03 20:41:40 -07:00
Friendika
08032e0453 change language dynamically - bound to F8 key 2011-03-31 04:57:31 -07:00
Friendika
0d161c6ef6 Merge branch 'omigeot-master' 2011-03-13 19:13:40 -07:00