Commit graph

1220 commits

Author SHA1 Message Date
Hypolite Petovan
6736187be6 Normalize template variables in Widget\VCard
- Display new links in vier
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1751750581
2023-10-09 20:21:01 +02:00
Jakobus Schürz
4b2e920957 show "parent unknown" when parent not federated
in some cases (visibility is private of parent comment), there is no
parent federated to my instance, and then the comment "hangs around"
with no information, why there is no parent.

For normal users this can be confusing, why all exept "this" comment
have parents.

So i added a simple text instead of link to parent with a "title" field
with a small explanation, why parent is not viewable.

translations done
2023-10-09 20:10:02 +02:00
Jakobus Schürz
45efa4ec87 set font-size of reply-to and shared-by to class time 2023-10-09 09:23:10 +02:00
Jakobus Schürz
622cdeaad6 make reply-to link depending on screen-width
* on small/smartphone-screens show "reply to" link above the posting and
  an eventual "shared by" link in a second line.
* on middle/tablet-screens show "reply-to" and "shared-by" link in one
  line above the posting, divided by a dot.
* on large screens show reply-to-link next to the time/date-link when
  posting was posted.

the first to positions are better for users with thick fingers on
smartphones. (like me)

Change "in reply to" to "is reply to". Sounds better.
2023-10-09 01:47:47 +02:00
Hypolite Petovan
c31c264b0b Normalize template variables in Widget\VCard
- Display new links in vier
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1751750581
2023-10-08 08:37:40 -04:00
Hypolite Petovan
8ac6d0ef04
Merge pull request #13507 from xundeenergie/finalize-mention-buttons
Finalize mention buttons
2023-10-07 05:23:19 -04:00
Hypolite Petovan
ec9345efa6
Merge pull request #13448 from annando/user-defined-channels
Channels can now be created by users
2023-10-07 02:09:19 -04:00
Jakobus Schürz
c6af5266cd add mention-/showgroup button also to profile/vcard.tpl
update translations
2023-10-07 01:28:23 +02:00
Jakobus Schürz
02b26f5969 put group-logic for "widget" to php-file 2023-10-07 01:23:29 +02:00
Jakobus Schürz
f1f92ccc29 use scrollToItem instead of own function
rename isanswerto and "Is answer to" to isreplyto and "is reply to"
2023-10-07 00:09:38 +02:00
Jakobus Schürz
3c7725183e change logic in if clause in case of codereview 2023-10-07 00:09:38 +02:00
Jakobus Schürz
f42861c58d better display of parent-link 2023-10-07 00:09:38 +02:00
Jakobus Schürz
4796bafafe add link to parent of comment 2023-10-07 00:09:06 +02:00
Michael
fbded95f65 Merge remote-tracking branch 'upstream/2023.09-rc' into user-defined-channels 2023-10-05 13:15:45 +00:00
Jakobus Schürz
3596b5e165 add loagin="lazy" to avatar-images too
resolves #13486

The loading of avatar-images still blocked the loading of notifications.

mostyl in frio!
now it's a big time improvement on loading friendica
2023-10-04 11:56:46 +02:00
Michael
b8208974a4 Merge remote-tracking branch 'upstream/develop' into user-defined-channels 2023-10-04 09:40:32 +00:00
Raroun
93a3c6ee59 added missing quotation mark 2023-10-03 06:01:19 +02:00
Raroun
51905cee45 added new tab for wall-titles too 2023-10-03 06:01:19 +02:00
Raroun
409f27c058 Frio: open links to source in a new browser tab 2023-10-03 06:01:19 +02:00
Jakobus Schürz
05f2cf9202 fix code because of review 2023-10-02 12:00:23 +02:00
Jakobus Schürz
f8a1b7ea56 Merge branch 'showgroup-button' into better-navigation 2023-10-01 22:59:27 +02:00
Jakobus Schürz (admin)
78e9ee651f show "view group" in hovercard
but only on group-contacts.
rename all *forum to *group in code
2023-10-01 14:25:23 +02:00
Jakobus Schürz (admin)
ed9d20b291 Change label of mention-button
* "Mention" on users profile
* "Post to group" on group/forums profile
2023-10-01 12:53:06 +02:00
Jakobus Schürz (admin)
9f2d2d4ac1 add mention-buttons 2023-10-01 12:38:57 +02:00
Jakobus Schürz (admin)
e6a4467557 add "Show Forum" Button to Profile 2023-10-01 12:34:56 +02:00
Michael
e7d65f2d12 Merge remote-tracking branch 'upstream/develop' into user-defined-channels 2023-09-30 18:44:12 +00:00
foss-
bb64d08eaf
Update jot-header.tpl
replace `contains` by `includes` in the "view/theme/frio/templates/jot-header.tpl" file on line 227 to fix this error message (only doing the leg-work here, hope this helps)
2023-09-30 17:26:27 +02:00
Michael
b2758f2cdd Merge remote-tracking branch 'upstream/develop' into user-defined-channels 2023-09-25 19:39:53 +00:00
Hypolite Petovan
fc5e60e97b [frio] Change "Ignore thread" icon to slashed bell
- The slashed eye is better used for ignoring content, not notifications
2023-09-23 22:20:16 -04:00
Michael
fac76a33df Improved timeline menu 2023-09-21 20:43:14 +00:00
Michael
aa6eb7fcf1 Visiblity is now frequency 2023-09-16 04:20:38 +00:00
Michael
54aea9dbee Changed to radio buttons 2023-09-15 17:40:14 +00:00
Michael
229e7dcee5 Channel visibility rules can now be set for each contact 2023-09-12 10:55:33 +00:00
Michael
d395de3aa1 Setting to select your network tabs 2023-09-09 17:38:09 +00:00
Michael
8b26d488ad Language selector added, "channel" is now "channels" 2023-09-03 12:54:25 +00:00
Michael
4ad3cc2cc1 Use $request / changed icon 2023-09-02 19:16:48 +00:00
Michael
5c166be3fc Channels are a new way to see different content 2023-09-01 21:56:59 +00:00
Hypolite Petovan
6ecc9c4cba Implement ignored server block in conversations
- Add server ignore status in contact profile page
- Add new reason in DisplayNotFound exception page
2023-08-20 14:27:43 -04:00
Hypolite Petovan
4c6334ea13 [frio] Add Mute Author Server button to post actions 2023-08-20 14:27:09 -04:00
Hypolite Petovan
e31d90eadb Replace references to profile.name by user.username 2023-08-20 13:59:07 -04:00
Hypolite Petovan
7e971a2ec6 Remove DI dependency from Module\Settings\Profile\Index
- Replace obsolete base settings/profile/index template by vier version
- Group translation labels in settings/profile/index template variables
2023-08-20 13:59:06 -04:00
Michael
2183c5e60c New parameter for textareas to make them readonly 2023-08-15 20:22:15 +00:00
Michael
911ed3d6ba Fix: Pagination in search result works again 2023-08-03 05:46:08 +00:00
Hypolite Petovan
6f9e15ea57 Remove escaping exception for form field values
- This could allow code injection from a malicious query leading to a form page
- Thanks to Laura Pîrcălăboiu for the report
2023-08-02 16:30:48 +02:00
Hannes Heute
8cc9471a7b added class in the mobile menu, too 2023-07-26 19:59:08 +02:00
Hannes Heute
e53b875e79 fix frio alignment 2023-07-26 19:09:31 +02:00
Hypolite Petovan
91d63213ae Reintroduce is_string modifier in addons/connector templates
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1606003698
2023-07-11 09:00:41 -04:00
Tobias Diekershoff
1359b171af
Merge pull request #13268 from MrPetovan/task/normalize-item-action-label
Normalize item action label key name
2023-07-10 10:01:50 +02:00
Hypolite Petovan
37131a6785 Normalize item action label key name
- Remove unused $item.return reference in asynchronous item action URLs
2023-07-09 21:00:36 -04:00
Hypolite Petovan
c312d11dab Add Report Create module
WIP
2023-07-09 18:32:43 -04:00
Hypolite Petovan
31a3c7cf50 [frio] Add link to About page in user menu 2023-07-08 22:24:03 -04:00
Michael
e562dbd59c Dedicated circle name for groups 2023-06-25 20:37:11 +00:00
Anubis2814
1f06089e5e Added content warning button 2023-06-15 12:55:54 -04:00
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
Hypolite Petovan
3385147f25 Replace "forum" by "group" in the rest of the code 2023-06-02 13:52:41 -04:00
Hypolite Petovan
33da0c196a Restore is_string() as a Smarty modifier
- Address https://github.com/friendica/friendica/issues/13157#issuecomment-1567336694
2023-05-29 19:19:41 -04:00
Hypolite Petovan
4f7740264e Replace "group" with "circle" in the rest of the code
- Remaining mentions already mean "forum"
2023-05-27 22:01:45 -04:00
Hypolite Petovan
ced6680c6a Remove direct call to is_string() from templates
- Address https://github.com/friendica/friendica/issues/12011#issuecomment-1523913027
2023-05-23 22:09:55 -04:00
Michael
5506a2c547 Tabs to spaces 2023-05-20 14:36:31 +00:00
Michael
1744f6b2c3 Add menu entry to directly collapse posts 2023-05-20 12:24:19 +00:00
Hypolite Petovan
be8251ef0c
Merge pull request #13110 from anubis2814/develop
[frio] Changed mobile icon for sidebar
2023-05-10 17:19:29 -04: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
ce2b7c8d4e [frio] Show post privacy scope in mobile view
- Remove mystery unknown block
2023-04-27 23:25:27 -04:00
Anubis2814
496967e7f8 Changed mobile icon for sidebar 2023-04-25 22:10:27 -04:00
Hypolite Petovan
03b7fcd09c Filter contact search by blocked remote domains
- Add filter explanation
2023-04-20 07:43:17 -04:00
Hypolite Petovan
1caea496c4 [frio] Fix jS error that was preventing further script execution in theme settings
- $("#id_frio_background_image").val() was undefined when showing accents
2023-04-17 21:26:12 -04:00
Jakobus Schürz
0e9eeec3c7 remove scrollbar from dropzone in jot too
fixes #13002
2023-04-17 22:11:52 +02:00
Hypolite Petovan
4db29565de [frio] Add Dropzone dictionary strings to l10n 2023-04-09 08:24:12 -04:00
Jakobus Schürz
6d09bf6bec move overflow: auto to css 2023-03-29 13:44:03 +02:00
Jakobus Schürz
856fb96212 remove unused scrollbar in vivaldi
fixes #12944
fixes #12944 partly
2023-03-29 10:35:48 +02:00
Philipp
36e21cacc9
Apply suggestions from code review
Switch to `isWritable`

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-03-27 19:36:14 +02:00
Philipp
fa9c3d40be
Add conditional help text for disabled fields 2023-03-27 19:36:13 +02:00
Philipp
76f3b07033
Disable setting fields in case we use environment variables 2023-03-27 19:36:13 +02:00
Josh Soref
f0c8576b87 spelling: title
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:18 -04:00
Josh Soref
25ed92fc97 spelling: little
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 20:04:07 -04:00
Josh Soref
9fc26de628 spelling: children
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 18:59:11 -04:00
Josh Soref
57d90e4c73 spelling: warning
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
728fb43d18 spelling: usually
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
13cedcc1a3 spelling: user
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
163f2c11e3 spelling: truncate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
b6c074507a spelling: through
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
c6a9e8be39 spelling: the
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
043716f06d spelling: separate
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
e71ad738d9 spelling: regularly
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref
66332394fb spelling: not be
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref
4894001931 spelling: miscellaneous
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:15 -04:00
Josh Soref
9d26a054d5 spelling: incoming
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
c7b8de4fe7 spelling: ignore
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
acb85feafb spelling: explicit
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref
4e6a2b1761 spelling: content
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
25a352f66a spelling: close
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
e02c475c9e spelling: calendar
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
d553aeabbe spelling: button
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
955f86d3c5 spelling: another
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
ad1616675e spelling: if
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
980b4ec273 spelling: already
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Josh Soref
6e105fbec1 spelling: advanced
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Jakobus Schürz
33a7cd107e improve attend-buttons for events 2023-03-23 23:23:23 +01:00
Jakobus Schürz
5277c483fe change or to and 2023-03-23 20:20:13 +01:00
Jakobus Schürz
be84573d7c fix activate share-button on nonfollowers
I don't know, if this really resolves the problem... but it looks like,
it does.

fixes #12923
2023-03-23 20:20:13 +01: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
Michael
72952d2c92 Issue 11535: Automatically open and close the registration 2023-03-21 21:44:26 +00:00
Jakobus Schürz
6436d2cd8a changes in case of code-review 2023-03-19 18:52:46 +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
16f065e260 changes in case of codereview 2023-03-19 18:52:45 +01:00
Jakobus Schürz
0cc2e1c22a apply changes from review 2023-03-19 18:52:45 +01:00
Jakobus Schürz
e62265b234 make errormessages visible 2023-03-19 18:52:45 +01:00
Jakobus Schürz
f876a053df add dropzone also onclick on comment-fake-form 2023-03-19 18:52:45 +01:00
Jakobus Schürz
1a1a1246b6 attach dropzone only when opening comment 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
721c065a44 fix editing in modal-jot
and add also timeout before removing images from dropzone
2023-03-19 18:52:45 +01:00
Jakobus Schürz
64066349aa add timeout before remove images from dropzone 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
00ae7d0f59 make dropzone work on editing postings/Comments 2023-03-19 18:52:45 +01:00
Jakobus Schürz
8242d1c72b remove console.log 2023-03-19 18:52:45 +01:00
Jakobus Schürz
a6a0507a89 small modifications to equalize the scripts 2023-03-19 18:52:45 +01:00
Jakobus Schürz
be2afac60d take maxFilesize from systemsettings
* does not work everywhere...
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
6a7f17559e fix composer dropzone 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
Jakobus Schürz
f8018f8dfe make errormessages modular and better 2023-03-14 17:32:11 +01:00
Jakobus Schürz
88f21c5892 move forgotten rotator from template 2023-03-14 17:32:11 +01:00
Jakobus Schürz
9140914a24 make erromessages translateable 2023-03-14 17:32:11 +01:00
Jakobus Schürz
7daecf6741 remove rotator from templates 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
4e070f65c7 Option to automatically add links as attachment via API 2023-03-13 21:30:20 +00:00
Jakobus Schürz
95cb66b6bf move upload-button in filebrowser above previews
its annoying, when you open filebrowser to upload an image or file, and
the button moves away under your finger/cursor, in case of loading
preview images slower than the form itself.

just change position of button (class="upload") and browser itself
(class="media") disannoys the behaviour.
2023-03-13 10:48:16 +01:00
www-data
51083e9fcf fix typo (btn-defaul -> btn-default) 2023-03-08 05:48:34 +01:00
Damian Wajer
cf3dc9a94f Fix calendar attendance icons 2023-03-07 17:57:54 +01:00
Damian Wajer
45571fe6a7 [frio] Move "Share via" to the share dropdown 2023-03-01 18:09:18 +01:00
Damian Wajer
bc65ea9693 Use available space for post interaction buttons
Related: https://github.com/friendica/friendica/issues/12835
2023-02-22 18:11:18 +01:00
Philipp
5552aac327
check themplates 2023-02-18 21:50:07 +01:00
Michael
608b5a37a4 Activities are now displayed as Emojis 2023-02-18 06:56:03 +00:00
Damian Wajer
ec21c19be7 Fix labels in contact request modal
Fixes https://github.com/friendica/friendica/issues/12709
2023-01-25 19:05:42 +01:00
Michael
8e4e2eecb7 Issue 12702: Let the user decide how to handle spoiler texts 2023-01-22 17:10:31 +00:00
Damian Wajer
15a60d3b20 [frio] Regular size profile extra links 2023-01-19 19:49:22 +01:00
Damian Wajer
b735c40b27 [frio] Contact actions size 2023-01-19 19:49:06 +01:00
Damian Wajer
0344a84543 [frio] Larger clickable area for batch actions 2023-01-19 19:49:01 +01:00
Damian Wajer
4d0684d3d5 [frio] Improve responses markup and alignment
Reduce additional spacing between button groups and use the correct markup according to the docs:
https://getbootstrap.com/docs/3.4/components/#btn-groups
2023-01-19 19:48:55 +01:00
Damian Wajer
5b01c7c977 [frio] Regular size thread action buttons on mobile 2023-01-19 19:48:33 +01:00
Damian Wajer
ec2bfbdf10 [frio] Regular size comment button 2023-01-19 19:48:27 +01:00
Damian Wajer
f6e63a641d [frio] Larger clickable area for dropdown menus 2023-01-19 19:48:16 +01:00
Damian Wajer
9dcc0f6f20 [frio] Larger clickable area for aside links 2023-01-19 19:47:57 +01:00