Commit graph

76 commits

Author SHA1 Message Date
Hypolite Petovan
e293de04f5 Add '$VERSION' template variable to make Friendica version available in templates
- constant() Smarty function is deprecated
- Remove unused site-wide template variable '$APP'
- Address https://github.com/friendica/friendica/issues/14027#issuecomment-2016469408
2024-03-24 09:20:58 -04:00
Hypolite Petovan
04cdd3e8ec
Fix Smarty reference to version constant after it was moved to App class (#13769) 2023-12-25 19:26:19 +01:00
Michael
c064ebe231 Emojis are now added either in comments or starting posts - but not both 2023-05-06 21:46:40 +00:00
Michael
85408fe437 Vier: The emoji picker is now integrated 2023-05-06 21:27:21 +00:00
Michael
bf4d19eed3 Changes after code review 2023-05-03 21:14:35 +00:00
Michael
b4b9a6a34a Add Fancybox to the core 2023-05-03 20:59:28 +00:00
Hypolite Petovan
c65cb66160 [vier] Remove duplicate variable declaration
- They were meant to be removed when the const declarations were introduced
2023-04-15 00:40:50 -04:00
Hypolite Petovan
4db29565de [frio] Add Dropzone dictionary strings to l10n 2023-04-09 08:24:12 -04:00
atjn
31ed9b450d Update default icon 2022-04-28 12:41:26 +02:00
Hypolite Petovan
8e005f7de2 Remove whitespace from opening HTML tag ending 2021-05-20 08:39:36 -04:00
Tobias Diekershoff
1e7d9fdcf6 added license hints to the Frio javascript files 2020-09-27 18:36:33 +02:00
Hypolite Petovan
4065f71382 Fix qcomment addon
- Initialize $qcomment template variable everywhere it is expected
- Remove addon Javascript from core head template
2020-09-09 16:49:03 -04:00
Hypolite Petovan
2e286d6a57 Move calendar/event stylesheets/scripts registration to modules
- Add media parameter to Page->registerStylesheet
- Fixes CSS precedence with custom theme stylesheet
2020-08-15 18:56:17 -04:00
Hypolite Petovan
f4afd56fa5 Replace jquery-textcomplete with yuku/old-textcomplete
- Add a jQuery wrapper to minimize code changes
- Improve local autocomplete jQuery plugin to allow chaining
2020-07-22 10:48:02 -04:00
Hypolite Petovan
9e90c6fdf7 Hot Fix: Fix remaining conflicts in templates 2020-05-14 00:01:38 -04:00
Hypolite Petovan
c555343d66 Hot Fix: Move perfect-scrollbar dependency from Bower to npm
- The original git repository used in Bower was wiped
2020-05-13 19:26:21 -04:00
Hypolite Petovan
71cefc7c9e Add version parameter to scripts and stylesheet paths in view/ 2020-01-31 19:42:02 -05:00
Hypolite Petovan
b64b18e6f7 Remove obsolete view/js/acl.js
- Remove references to the deleted file
2019-11-28 12:54:56 -05:00
Philipp Holzer
78a20e5acb
Fix hovercard vanish 2019-05-26 21:42:49 +02:00
Hypolite Petovan
281d6fe055 Remove superfluous call to focus() in global commentExpand() function 2019-02-14 22:25:42 -05:00
Hypolite Petovan
d7dbc632f8 Improved comment hiding interaction
- Remove global window.showMore and window.showFewer
- Improve global showHideComments function
- Remove frio-specific showHideComments function
2019-02-14 22:24:34 -05:00
Tobias Diekershoff
d2243a1c35 tagged the inline JS in head.tpl with the license 2019-02-12 11:30:45 +01:00
Hypolite Petovan
bd03278ee9 Put cursor at end of default mentions in comment box 2019-01-29 09:25:22 -05:00
Hypolite Petovan
f2b784e654 Strip base url from links before determining anchor status for iOS linker 2019-01-04 20:36:36 -05:00
Hypolite Petovan
2241ba4540 Remove uses of HTML escaping in Smarty templates 2018-12-16 22:38:30 -05:00
Alexandre Alapetite
4d092872a5 Escaping moved to template
https://github.com/friendica/friendica/pull/6147#pullrequestreview-176051481
2018-11-17 14:01:07 +01:00
Hypolite Petovan
14237a9599 Move $pager and $page_offset out of App
- Move infinite scroll data output in a module hook
- Use Pager instead of paginate() and alt_pager()
2018-10-25 00:07:15 -04:00
Michael Vogel
103535d620
Merge pull request #5773 from MrPetovan/task/rewrite-js-hooks
Rewrite JS hooks
2018-10-01 17:10:30 +00:00
Hypolite Petovan
be348cf8c8 Remove addon_hooks template variable
- Update addon documentation
2018-09-24 08:16:26 -04:00
Benjamin Lorteau
f0cdd25e34 Register Friendica stylesheet using App->registerStylesheet()
- Remove mentions of {{$stylesheet}} in head.tpl templates
2018-09-21 09:54:09 -04:00
Hypolite Petovan
2ae6556b32 Add new 'head' hook
- Add new App->registerStylesheet method
- Reworked App->init_pagehead into App->initHead
2018-09-20 21:30:51 -04:00
Hypolite Petovan
7dd6fb3b3c Rewrite JS hooks
- Use event listeners instead of homebrew hooks
- Remove view/js/addon-hooks.js and its references
- Update Addon docs
2018-09-19 22:51:51 -04:00
Hypolite Petovan
8fbcbbda16 Remove references to Pear Text_Highlighter stylesheets 2018-09-19 21:36:21 -04:00
rabuzarus
a2fc1be187 fix scroll position in stream while ajax update 2018-06-16 13:05:33 +02:00
Pascal Deklerck
ba4ddb1d8d Test if addon_hooks is an array before using it 2018-06-13 21:05:54 +02:00
Pascal Deklerck
d488512ca0 5118 Create Javascript hook mechanism 2018-06-07 22:23:30 +02:00
Hypolite Petovan
274ce95d13 Move Composer assets to view/ 2018-03-07 08:07:36 -05:00
Hypolite Petovan
cd392db078 Move js/ folder under view/
- Move library/cropper to view/js/cropper
- Move library/jquery-textcomplete to view/js/jquery-textcomplete
2018-01-28 16:17:36 -05:00
Hypolite Petovan
a05eeeb49c Remove jQuery Migrate file
- Remove script references
2018-01-28 15:54:20 -05:00
Hypolite Petovan
19e197ef51 Forgot a path element in perfect-scrollbar paths 2018-01-27 21:09:49 -05:00
Hypolite Petovan
e54cdb1f72 Fix wrong path to perfect-scrollbar library files 2018-01-27 19:06:20 -05:00
Hypolite Petovan
341d2fae12 Updated references to perfect-scrollbar 2018-01-27 18:04:02 -05:00
Hypolite Petovan
9b0fc558f7 Update references to jgrowl 2018-01-27 11:52:06 -05:00
Hypolite Petovan
9d78010e7f Update references to jquery.datetimepicker 2018-01-27 08:09:30 -05:00
Hypolite Petovan
b432a17538 Update references to jquery 2018-01-18 11:27:14 -05:00
Hypolite Petovan
9ee1b14b2b Update references to colorbox css and js files
- Remove commented out references to other css/js files
2018-01-18 11:27:14 -05:00
Hypolite Petovan
0d9595d80a Update all references to webtoolkit.base64 2018-01-17 21:23:51 -05:00
Hypolite Petovan
6fe64a5ac6 Fix references to text_highlighter css 2018-01-16 23:48:07 -05:00
Pierre Rudloff
ead9cbe534 Web app manifest (fixes #3317) 2017-04-13 16:46:36 +02:00
Hypolite Petovan
318166a381 Fix path to default Text_Highlighter CSS 2017-04-08 08:59:41 -04:00