Commit Graph

279 Commits

Author SHA1 Message Date
Jakobus Schürz bd2cd8dd4c remove reminder for deleting rotators in tpl 2023-03-14 17:32:11 +01:00
xundeenergie 225e2124cc Update view/theme/frio/js/theme.js
in this case, the img[id^=waitfor... .show() shows existing image-containers. All of them which exist.

Because there can be more than one. And this filter just shows them.
adding another rotator with your suggestion can lead to 2 or more rotators on a button.

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-14 17:32:11 +01:00
Jakobus Schürz 2219978788 reduce indentation 2023-03-14 17:32:11 +01:00
Jakobus Schürz 96c3321bb8 improve optical feedback with rotator on buttons
* functional rotator with feedback from ajax-request for activity
    on like, dislike, share and shareMenu button in wide-screen and media-screen
2023-03-14 17:32:11 +01:00
Jakobus Schürz 660a9cf285 show rotator on button 2023-03-14 17:32:11 +01:00
Jakobus Schürz a1b9f27545 make indentation as tabs 2023-03-14 17:32:11 +01:00
Jakobus Schürz 4244670f1c simplify code, remove debug output 2023-03-14 17:32:11 +01:00
Jakobus Schürz f8fc9c1e8b improve like/share buttons
change the button only if it could send its request successfully to the server.

fixes:
* disrupting a video on liking or sharing
* timeline jumps around somewhere else, when you like or share a
  posting/comment, and you can not find back.
2023-03-14 17:32:11 +01:00
Michael 840f25cc5c Improve ignoring of messages 2023-01-09 16:23:39 +00:00
Hypolite Petovan cdf180c58d Add new calendar.default_view pconfig key 2022-12-17 12:20:43 -05:00
Hypolite Petovan 85db716894 Fix wrong condition when redirecting to filtered log view in admin/logs
- Address https://friendica.xyz/display/adf174d5-1563-937d-3cd7-2df680918252
2022-12-09 16:24:55 -05:00
Philipp 272911527c
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-27 01:52:14 +01:00
Philipp 012f486eb6
Adhere feedback 2022-11-27 01:34:59 +01:00
Philipp 50316bbb80
Move Browser & Upload to own namespace 2022-11-27 01:34:59 +01:00
Philipp 051253a745
Move FileBrowser to own namespace & Bugfix album usage 2022-11-27 01:34:58 +01:00
Philipp 3607aa32ca
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-11-27 01:34:58 +01:00
Philipp d0b16b2fc1
Move mod/fbrowser to src\Modules\Attachment|Photos\Browser 2022-11-26 22:26:30 +01:00
Philipp 78a8ed6fe7
adhere feedback 2022-11-07 20:21:11 +01:00
Philipp f13c91b320
Move mod/cal.php and mod/events.php to Module 2022-11-07 19:52:24 +01:00
Hypolite Petovan 9aa05eb911 Deprecate themes duepuntozero, quattro and smoothly 2022-11-05 00:06:10 -04:00
Hypolite Petovan 969b4f991e Create Profile\Attachment\Upload module class
- Add missing response type in AjaxUpload initializition
2022-10-31 14:57:25 -04:00
Hypolite Petovan 39765e6018 Create Profile\Photos\Upload class 2022-10-30 14:20:01 -04:00
Hypolite Petovan e556dc3c31 Add new frio.always_open_compose setting
- This setting allows the New Post button to always open the Compose page instead of the modal by default
2022-10-16 11:49:27 -04:00
Michael 4d39ec8b63 Issue 11880: Provide "alt" description from uploaded file 2022-10-03 21:23:04 +00:00
Hypolite Petovan 4a885a13a6 Remove poke feature 2022-08-09 14:55:55 -04:00
Alessandro Lorenzi 94cf4fa37a
fix(frio): "Data" move header in template w/ l10n
fix: #11581
2022-07-28 18:10:01 +02:00
Hypolite Petovan f2af985350 [frio] Add a conditional browser share button 2022-01-09 12:31:54 -05:00
Hypolite Petovan 0daa2f2228 [frio] Check for role="presentation" uses throughout the templates
- Upgrade a tags to buttons in file browser
- Fix formatting in nav.tpl
- Remove unwarranted instance for character counter in jot form
2021-11-14 20:30:21 -05:00
Hypolite Petovan a9bb53b021 [frio] Fix event time display 2021-10-03 13:42:32 -04:00
fabrixxm 7f695197aa Fix review points
- Fix headers hierarchy
- Improve accessibility:
 	- set mouse pointer
	- make rows focusable
	- open on key press
	- add tooltip with "title"
	- add role and aria attributes
- Rename `ParsedLog` to `ParsedLogLine`
- Add docs to `ReversedFileReader`'s implementation of `Iterator`'s methods
- Add docs to `ParsedLogIterator`'s implementation of `Iterator`'s methods
- Remove unnecessary comment
- Add more test for parsing log lines and fix some edge cases
- Fix function name in snake-case to camelCase
- Remove `DIRECTORY_SEPARATOR`
2021-08-20 11:02:18 +02:00
fabrixxm 5e5d9db1b3 logs view: update frio template
add search and filter columns support.
add "prev/next" buttons to details popup
2021-08-19 14:55:33 +02:00
fabrixxm b8fc6a8c02 Advanced log view: Frio version
Show log event details in a modal dialog
2021-08-19 14:55:33 +02:00
Hypolite Petovan dde1d203f7 [frio] Move content of event_edit.js to mod_event.js to prevent an unsafe-eval 2021-07-14 08:13:24 -04:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Hypolite Petovan 3859b7ba10 Move /parse_url module to /parseurl
- Update oexchange module to use BBCode::embedURL instead of a self-request
- Remove mod/parse_url.php file
- Restrict ParseUrl module to authenticated users
2021-02-18 09:06:27 -05:00
Hypolite Petovan 3a18669730 Rename dolike to doActivityItem 2021-01-31 08:39:47 -05:00
Hypolite Petovan 590d44df5f [frio] Add block author button in More dropdown 2021-01-23 05:33:15 -05:00
Extarys 61ef23dedc fix toggle button 2021-01-22 11:50:07 -05:00
Extarys 846506081c frio mobile: fix: right offcanvas 2021-01-22 11:48:58 -05:00
Extarys 91d3e72be7 frio: formating, otherwise untouched 2021-01-22 08:38:44 -05:00
Extarys 61af10b6ce fix: undefined search tag #9789 2021-01-20 09:21:57 -05:00
Hypolite Petovan b2c4116357 Replace JQuery .text by .html
- Prevents inserting unescaped HTML in page
2020-11-16 18:19:24 -05:00
Hypolite Petovan 388c0b69d6 Split admin/users into 6 separate modules
- They now feature working pagination
2020-11-08 12:53:12 -05:00
Hypolite Petovan 85677266b9 [frio] Keep jQuery data attached to elements stored in jotcache
- Prevents tagsinput to re-attach to existing tags inputs when jotcache is restored
2020-10-10 19:04:25 -04:00
Tobias Diekershoff 225e86e437 Please add an EOF EOL 2020-09-27 20:00:06 +02:00
Tobias Diekershoff 1e7d9fdcf6 added license hints to the Frio javascript files 2020-09-27 18:36:33 +02:00
Hypolite Petovan 5aa6284b1d [frio] Destroy unused perfect scrollbar on the aside element
- It was interfering with accented scheme styles
2020-09-14 00:22:59 -04:00
Hypolite Petovan d5975ff0bc [frio] Add dynamic CSS property before introducing accented themes
- Introduce variables for font colors
- Set content background transparency on several background colors
- Change radio/checkbox colors depending on the link color
- Prevent post highlighting to end up on static white
2020-08-15 20:25:33 -04:00
Hypolite Petovan dcd7553da9 [frio] Replace only the users table element when reordering on a column in mod_admin.js
- Replace duplicate jQuery query with a variable
2020-06-11 20:26:29 -04:00
Michael Vogel 235f4eaa89
Merge pull request #8697 from MrPetovan/task/8691-like-links-one-way
Make like links one way
2020-05-29 15:33:24 +02:00
Hypolite Petovan ed39618da2 [frio] Move variable assignment where it belongs in asynchronous comment form submission callback 2020-05-27 09:05:46 -04:00
Hypolite Petovan df1c74bd33 Make "like" links one way
- Updated dolike() function to accept a "un-" switch
- [frio] Updated doLikeAction() function to call dolike() instead of having duplicated code
- Added boolean logic (with explanatory truth table) to smartly delete existing activities in Model\Item::performActivity
- Moved verb/activity parameter handling closer to their use in Model\Item::performActivity
- Updated all references to dolike() and doLikeAction() to include the "un-" switch
2020-05-27 08:41:13 -04:00
Hypolite Petovan e6388a186f [frio] Disable unexpected asynchronous compose form submission 2020-05-26 10:28:30 -04:00
Hypolite Petovan 16f48731b1 Remove album name bin2hex conversion in file browser
- Avoids Javascript hex2bin() limitation to Latin-1 string encoding
2020-04-21 22:14:11 -04:00
Hypolite Petovan 7f04aea8b1 Move poke module to src/
- Add new route contact/<cid>/poke and update all references
- Rework template with form field includes
- [frio] Enable modal behavior
2020-04-20 11:47:08 -04:00
Hypolite Petovan 2791d70655 [frio] Merge compose/jot buttons features 2020-02-19 15:11:35 -05:00
Hypolite Petovan 95b09aaec4 [frio] Add loading animation on comment form submit 2020-02-11 23:45:47 -05:00
Hypolite Petovan 5930d94c91 [frio] Improve back to top button behavior at bottom of page 2020-02-09 18:14:06 -05:00
Michael cf9070c396 Removed unneeded CSS and JS stuff 2020-02-05 16:30:35 +00:00
Michael 0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00:00
ozero dien 0a5b3a2bc7
Update theme.js
Reverted the animation change.
2020-01-15 18:58:00 +09:00
ozero dien f3ea4a4f45
Stop scrollToItem() animate twice.
- Suppress first fade-to-black with `animate(colWhite, 1)`
- Stop animate twice in `colShiny` with `).promise().done(`
2020-01-09 13:59:56 +09:00
Hypolite Petovan 5aebdec0bf [frio] Fix file browser staying displayed even after switching jot tab
- Addresses https://libranet.de/display/0b6b25a8-445d-e188-54e9-c05224132808
- Include file browser tab in the jot form
- Remove input elements from the file browser to avoid interference with jot form
2019-11-30 10:49:20 -05:00
Hypolite Petovan 8f4f6899dd Update composer module to use the new ACL selector
- Remove ACL-specific code from compose-footer
- Move compose-footer template remaining content to compose.js
2019-11-28 12:54:56 -05:00
Hypolite Petovan ae3d4f63a3 Use visibility tags input for the default ACL selector
- Move friendica-tagsinput to default view folder
- Update all references to ACL::getFullSelectorHTML
- Fix theme-specific issues with the new ACL
2019-11-28 12:54:53 -05:00
Hypolite Petovan e67833a784 [frio] Add click card on contact avatars 2019-11-02 12:48:04 -04:00
Hypolite Petovan ff27f45cb9 Move mod/hovercard to src/Module/Contact/Hovercard
- Rework hovercard.js to remove JS template interpolation
- Remove template/json output from Module/Contact/Hovercard
2019-11-02 12:48:03 -04:00
Tobias Diekershoff 2b8642d2b5
Merge pull request #7728 from MrPetovan/task/7682-better-insert-link-button
Discriminate between links and non-links in [url] BBCode tag insertion
2019-10-14 14:57:31 +02:00
Hypolite Petovan 74bf3a4dc8 Replace path parameter with query string parameter in Module\Search\Saved 2019-10-13 08:39:41 -04:00
Hypolite Petovan 5fcdb5de00 Move duplicated insertFormatting function to main.js
- Add insertBBCodeInTextarea function
- Add BBCode url exception to insertBBCodeInTextarea
2019-10-11 19:59:28 -04:00
Hypolite Petovan 8f20e2054b Move /acl module to src/
- Move Core\ACL::contactAutocomplete to Module\Search\Acl
- Rename module path to /search/acl
2019-10-03 22:40:42 -04:00
Hypolite Petovan 082827b67e Remove unused Javascript methods and functions 2019-08-24 13:00:16 -04:00
Hypolite Petovan 901efb0a0e [frio] Remove /contacts module incomplete autocompletion in search field 2019-08-24 12:59:42 -04:00
Hypolite Petovan d5efca1171 [frio] Add compose page JS trigger and theme setting 2019-07-29 20:31:47 -04:00
Michael dfee2c467c Use another "img" format to simplify adding of alternative texts 2019-07-29 20:42:42 +00:00
Michael 1b0f260255 Convert filebrowser.js to unix format 2019-07-29 20:41:19 +00:00
Hypolite Petovan 6332a50466 [frio] Remove outer post padding
- Include mobile view changes
- Includes search view changes
2019-07-17 08:09:46 -04:00
Hypolite Petovan 9ac7d20df3 [frio] Add .add-to-modal delegated event on anchors
- Improve hovercard button accessibility
2019-06-03 08:31:43 -04:00
Philipp Holzer 78a20e5acb
Fix hovercard vanish 2019-05-26 21:42:49 +02:00
Philipp 774d04cd2f
Merge pull request #7044 from MrPetovan/task/router
Move mod/admin to src/Module/Admin
2019-05-02 18:26:30 +02:00
Hypolite Petovan a88df9b259 Ensure theme consistency when using filebrowser
- Send frio filebrowser result to current frame instead of parent one
2019-05-02 09:52:48 -04:00
Hypolite Petovan 5dd6e6b5fb Reworked /photos module without App->error
- Moved confirm dialogs to photos_content()
- Removed comments/interactions from photo edit page
2019-05-01 19:36:14 -04:00
Hypolite Petovan 3f640169f7 Switch comment box closing event listener from click to mousedown
- Fix event race condition in Chrome 73 (https://github.com/friendica/friendica/issues/6947)
2019-03-28 22:32:31 -04:00
Hypolite Petovan 2dd7a52b17 [frio] Thread display redesign
- Add fake form at end of comment list
- Shuffle comment box buttons around using flex display
- Convert divs into paragraphs
- Remove unused commentInsert() and qCommentInsert() function from textedit.js
2019-02-14 22:28:38 -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
rabuzarus ba03ec857a attachment preview: some small corrections 2019-02-03 16:26:13 +01:00
rabuzarus 3a15c22028 attachment preview: frio- initialize linkPreview on jot modal open (so we can use the linkPreview for new posts and edit post modal) 2019-02-02 03:12:36 +01:00
rabuzarus 132e0b83c4 attachment preview: mv some js functions from frio to the linkPreview to make linkPreview available for other themes 2019-02-01 23:48:14 +01:00
rabuzarus 07d1932efc attachment preview: frontend work (works with frio) 2019-02-01 19:18:08 +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 9b8f91f8fe [frio] Fix justifyGalley scales list 2019-01-06 05:33:40 -05:00
Jonny Tischbein dd7d556c86 Fix opening comment box when Post has replies 2018-11-17 15:53:34 +01:00
Jonny Tischbein f4d2f78233 Enables error messages for files too 2018-10-29 23:28:20 +01:00
Jonny Tischbein 780d1edf04 Show error message if image exceeds limit + fix close button 2018-10-29 23:06:42 +01:00
Jonny Tischbein 6cd17f2229 Code Standard: indent + renaming function in camelcase 2018-10-24 18:09:54 +02:00
Jonny Tischbein d2b5f77be9 Add multimedia link for jot + enables hover text in jot + autosize in when paste link + renaming / Code Standards 2018-10-24 16:20:10 +02:00
Jonny Tischbein ee006bdc18 Code Standards 2018-10-23 20:12:53 +02:00
Jonny Tischbein d0c43c5597 Add prompt for link and media in comment + remove video symbol 2018-10-23 19:50:19 +02:00
Jonny Tischbein 3065d1c40a Add Link promt in comment + only add URL instead of attachement via parse_url 2018-10-17 21:05:45 +02:00
Hypolite Petovan a6996601d5
Merge pull request #5789 from friendica/master
Update develop from master-2019.09
2018-09-23 18:55:20 -04:00