Commit Graph

151 Commits

Author SHA1 Message Date
Domovoy 75d355a2aa Rendering is now done by Item objects 2012-08-10 19:57:39 +02:00
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
Friendika 508636082e bogus 'no results' message on search page 2011-03-10 20:46:27 -08:00
Friendika 439ee37f99 never enough comments 2011-03-10 02:45:37 -08:00
Friendika 041f3ca774 detect empty .htconfig.php - in case permissions need to be set on it in order to install 2011-03-08 18:11:36 -08:00
olivierm 8520917571 Autodetect browser language (should we make this optional?) 2011-03-08 14:41:04 +01:00
Friendika 5ff1462e1e install issue (memory exhausted) due to incorrect db open check 2011-03-01 16:24:22 -08:00
Friendika 5f2f644064 resolve file inclusion conflicts w/ multiple plugins, improve the typo checker 2011-02-21 20:19:33 -08:00
Friendika 642a71ffde app menu - and a demo application 'tictac' 2011-02-19 00:56:15 -08:00
Friendika fc5a3cac14 post to FB is working 2011-02-10 21:25:24 -08:00
Friendika f217a557b8 allow plugins to become cmd modules 2011-02-10 16:17:21 -08:00
Friendika 147d7f3bbf theme name cleanup - rename default to loozah, provide sane fallbacks and change system primary theme.
Provide indication on contact edit page of last update success/failure - can be extended later to
show actual timestamp of last successful update.
2011-02-06 15:50:50 -08:00
Friendika a598f17e6d wrong ref in ssl policy 2011-01-30 18:25:41 -08:00
Friendika 5bfb0ba4c2 birthday notifications working 2011-01-13 20:28:33 -08:00
Friendika b2176538f4 add page start/end hooks, cleanup couple of notice msgs 2011-01-10 13:45:42 -08:00
Friendika 1b0ddc928d make home tab work from remote profile, fix link in comment notify emails 2011-01-05 01:53:34 -08:00
Friendika 45d8676dc2 use shift-home instead to take you home 2011-01-04 14:35:12 -08:00
Friendika 64628c800d provide "return home" key 2011-01-04 05:06:10 -08:00
fabrixxm 43283fd35f Merge branch 'friendika-master' 2011-01-03 09:45:13 +01:00
Friendika 0fb3aa1b57 valid host checks were returning true on TXT records and other useless garbage 2011-01-02 19:05:11 -08:00
fabrixxm efc4e76c7a 'system','theme' config to set default site theme 2010-12-28 15:38:16 +01:00
Friendika 5b1fde8b0f allow configurable poll interval override when hub is used 2010-12-21 14:51:26 -08:00
Friendika d1261e50c6 don't ask 2010-12-16 20:12:23 -08:00
Friendika 78d8bcbc60 personal config storage, template the vcard profile, logging failed uri's to help track down transient dreamhost issues 2010-12-14 14:15:31 -08:00
Friendika 1cffecd1be footer is serving no useful purpose. 2010-12-12 17:40:23 -08:00
Friendika 03c1e5a5ad never enough comments 2010-12-08 23:08:59 -08:00
Friendika 5763d31b4f db prepare for enhanced magic profiles and remote privacy indicators, fixed $lang setting to use system config var, some other syntax issues 2010-12-07 18:13:51 -08:00
Friendika 4240a23a8a i18n re-arrange 2010-11-15 23:27:12 -08:00
Friendika 4c5f3fbf79 auth manager update, increased verbosity on salmon logs 2010-11-11 14:53:39 -08:00
Friendika 7be66b1d91 ff account manager 2010-11-11 02:49:28 -08:00
Friendika d825db3649 lint 2010-11-07 15:46:49 -08:00
Friendika 964ca0e079 install messages persist, some colour coordination 2010-11-06 05:07:10 -07:00
Friendika 95a425a1f3 minor stuff 2010-11-04 00:37:29 -07:00
Mike Macgirvin f0b6400584 more lint 2010-10-31 16:38:22 -07:00
Mike Macgirvin fab63ca751 -Wall cleanup 2010-10-30 13:25:37 -07:00
Mike Macgirvin 0f47ac282c celebrity/group/community pages about 75% implemented 2010-10-17 20:04:17 -07:00
Mike Macgirvin c7c3db8c54 i18n officially ready for prime time. 2010-10-06 17:40:58 -07:00
Mike Macgirvin dda5195418 show members of locked conversations 2010-09-29 22:11:26 -07:00
Mike Macgirvin 34eedb503a stronger type checking on comparisons 2010-09-26 17:24:20 -07:00
Mike Macgirvin d5a13b1e4c localisation path for all view templates 2010-09-22 18:00:19 -07:00
Mike Macgirvin a428695f8e pass vars via javascript, not html. Also fix broken pause img on IE 2010-09-20 22:27:33 -07:00
Mike Macgirvin 3ad52463f6 more robust feed error handling, at the expense of performance.
Pass profile owner through HTML (yuk) to the ajax updater - as
browser  pre-fetch totally buggers passing it via the server session.
2010-09-20 19:34:44 -07:00
Mike Macgirvin 177a6d7f79 provide visual indicator when pausing ajax updates 2010-09-20 01:13:19 -07:00
Mike Macgirvin ffb1997902 mistpark 2.0 infrasturcture lands 2010-09-08 20:14:17 -07:00
Mike Macgirvin 30e3a65c0f full theming support 2010-08-16 05:23:26 -07:00
Mike Macgirvin 35e29e10e6 installer changes, pe sync 2010-08-15 21:49:29 -07:00
Mike Macgirvin 2370a3f89b code cleanup for server release 2010-08-14 19:39:28 -07:00
Mike Macgirvin d763485752 put in config framework for auto-update ability, plugins, etc. 2010-08-14 18:11:36 -07:00
Mike Macgirvin d11c1c63c0 lots of fixes - most recent photo updates for contacts 2010-08-08 21:03:08 -07:00
Mike Macgirvin c9d8211ae7 photo editing 2010-08-08 01:58:26 -07:00
Mike Macgirvin 2af943d752 cleanup sysmsg 2010-08-03 19:34:33 -07:00