Commit graph

71 commits

Author SHA1 Message Date
Steffen K9
70540e59e1
Remove reference to nonexistent CSS file
This removes the only occasion I found for the nonexistent file `/view/js/button/frio.css`.

Fixes #13201
2023-06-07 17:52:15 +02:00
Michael
0a3f1094ce The emoji selector is now available for comments 2023-05-06 09:41:07 +00:00
Michael
45c1d74750 The Emojipicker is added to Frio for new posts 2023-05-04 10:54:29 +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
4db29565de [frio] Add Dropzone dictionary strings to l10n 2023-04-09 08:24:12 -04:00
Jakobus Schürz
fafa804cf0 fix indentation and remove comment 2023-03-22 21:42:52 +01:00
Jakobus Schürz
7e989a03b2 make dropzone css configureable with variables
and set a border-radius for dropzone to reflect theme better
2023-03-22 21:42:52 +01:00
Jakobus Schürz
920dcca263 render max_imagesize in header.tpl
so it is reachable general from the whole website, and the dropzone-factory can use
it also to create dropzones from modal.js
2023-03-19 18:52:46 +01:00
Jakobus Schürz
0cc2e1c22a apply changes from review 2023-03-19 18:52:45 +01:00
Jakobus Schürz
ada11a2c67 create factory for dropzones 2023-03-19 18:52:45 +01:00
Jakobus Schürz
39f7660a1d fix getting bytes from shorthand in php 2023-03-19 18:52:45 +01:00
Jakobus Schürz
2403932a83 improve image-upload
* create dropzone for editing in jot-modal
* customize css for dropzone to make it more beautiful (smaller
  margin/paddings...)
* change position of dropzone-element dircetly to textarea, so button
  for upload is small and under textarea (it's more clear)
* remove previews after upload. this shows the upload-progress, but
  preview is not needed after upload. you can't do anything with the
  preview, and dialog gets too big. You see successful upload, when
  bb-code link to image is inserted on cursor-position in textarea
2023-03-19 18:52:45 +01:00
Jakobus Schürz
3688196859 create workaround for not working php
Strings:getBytesFromShorthand

i created a js-function which converts integer, k, m and g to MB
Just remove this code, when we found out, why Strings is in some files
not working.
2023-03-19 18:52:45 +01:00
Jakobus Schürz
359ad6ff5a fix a warning and suggestions for pullrequest
* fix indentation to tabs
* remove unneeded calls for dropzone.min.js and dropzone.min.css
* removed debug output
2023-03-19 18:52:45 +01:00
Jakobus Schürz
00c7e989b2 add missing css 2023-03-19 18:52:45 +01:00
Jakobus Schürz
29d7b4ef24 fix path for js and css loading 2023-03-19 18:52:45 +01:00
atjn
31ed9b450d Update default icon 2022-04-28 12:41:26 +02:00
Extarys
00e4c012f9 frio: change manifest to webmanifest 2021-01-24 23:48:22 -05:00
Extarys
aad6481824 formating head 2021-01-24 23:24:15 -05:00
Tobias Diekershoff
1e7d9fdcf6 added license hints to the Frio javascript files 2020-09-27 18:36:33 +02: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
Hypolite Petovan
707d9efed5 [frio] Remove jSmart dependency 2019-11-02 12:48:03 -04:00
Vinzenz Vietzke
0d4b60a851 Replaced FontAwesome by ForkAwesome
Migrated from manual installed files in frameworks/ to composer based install
Migrated paths to new view/asset/ structure
2019-08-22 20:45:41 +02:00
Philipp Holzer
78a20e5acb
Fix hovercard vanish 2019-05-26 21:42:49 +02: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
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
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
miqrogroove
b5fe1c60a9 Fix Broken Profile Links (#5286)
* Expose the block_public setting to head.tpl

* Do not include hovercard.js if block_public
2018-07-14 16:31:46 -04:00
rabuzarus
a2fc1be187 fix scroll position in stream while ajax update 2018-06-16 13:05:33 +02:00
rabuzarus
2b69571cbf Frio: add addon_hooks to head.tpl 2018-06-15 22:55:00 +02:00
Michael
8bdd417b04 Asynchronous Javascript is deactivated 2018-03-27 05:45:56 +00:00
Hypolite Petovan
15099a97d5 [frio] Add asynchronous javascript assets loading 2018-03-07 08:08:37 -05: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