Commit graph

808 commits

Author SHA1 Message Date
Hypolite Petovan
811e144e9e Move viewcontact_template and contact_template to contact/ folder 2022-11-04 07:03:55 -04:00
Philipp
7c4a7bff2e
Move new events routes to calendar routes 2022-11-02 15:16:24 +01:00
Philipp
baa97febef
hopefully last feedback :) 2022-11-01 00:09:30 +01:00
Philipp
87291e30a4
Found some more follow-links 2022-10-31 20:58:34 +01:00
Philipp
84201f0915
Update view/theme/vier/config.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-10-21 10:25:42 +02:00
Philipp
ee71086133
UserSession class [7] - Refactor view/ files 2022-10-21 10:25:41 +02:00
Michael
11944dda32 old boot.php functions replaced in various places 2022-10-19 07:44:08 -04:00
Michael
757a5c2de9 Loglevels are adjusted 2022-08-30 19:45:30 +00:00
Hypolite Petovan
1d94e2866a Enable the view module in maintenance mode
- This allows to load the default theme CSS
- Theme scripts have been updated to reflect the possibility they will be included in maintenance mode
2022-07-12 19:48:36 -04:00
Michael
75bc4eccb7 Display featured posts for contacts 2022-04-07 21:52:25 +00:00
Hypolite Petovan
5a12bd87f3 Replace Javascript notification string formatting with Smarty templates 2022-03-14 07:56:58 -04:00
Michael
706bcfa832 Fix for warnings in smarty templates 2022-02-20 06:57:04 +00:00
Michael
c7b3c071c7 Issue 11034: Use the profile photo for local users 2022-02-01 19:12:33 +00:00
Balázs Úr
e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp
9207b9e408
Fixing https://github.com/friendica/friendica/issues/11033 2021-11-27 13:48:05 +01:00
Hypolite Petovan
23e1130264 Move title attribute to <time> tag
- Use correct machine-readable value in datetime attribute
2021-11-21 22:51:21 -05:00
Michael
359dad4244 Some more "escapeTags" removed 2021-11-06 20:25:21 +00:00
Michael
4236a9a105 Improved http error handling 2021-10-29 23:21:07 +00:00
Michael
f6faae5bb1 Replace deprecated log calls 2021-10-20 18:53:52 +00:00
Hypolite Petovan
9935e8e711 Remove event.adjust field
- It was confusing and introduced complexity that wasn't worth the unclear gain
2021-10-03 13:42:32 -04:00
Tobias Diekershoff
f0763c4eaf add character counter to themes other then frio
Only vier needed some styling so that the counter looked fitting.

closes #2525
2021-10-03 17:03:05 +02:00
Hypolite Petovan
222333f64f Remove contact drop feature
- Feature was confusing, sometimes ineffective and overall overlapping with unfollow/block
2021-10-02 16:04:28 -04:00
Hypolite Petovan
72fae04e97 Add revoke follow feature
- Add new follow revoke module
- Add new hooks: revoke_follow, support_follow, support_revoke_follow
- Add link in contact page action menu
2021-10-02 14:01:46 -04:00
Hypolite Petovan
458e26b00a Link to displayed contact URL no matter the "Stay local" setting value 2021-09-14 17:39:03 -04:00
Hypolite Petovan
6e358bfacf Remove user-controlled contact archival feature
- Archival is managed at the system level for failed probing and doesn't make sense for a user to decide on it
2021-09-05 14:54:50 -04:00
Michael
e3c7cd25e1 Issue 10640: Use consistent settings to enable protocol support 2021-08-30 19:46:10 +00:00
Michael
15b93b4459 "getUserNickname" is now "getLoggedInUserNickname" 2021-08-09 19:48:39 +00:00
Michael
4495e83eca Merge remote-tracking branch 'upstream/develop' into app-user2 2021-08-09 15:32:32 +00:00
Michael
b8fa75b2dd Changed function name 2021-08-09 15:29:07 +00:00
Michael
bee04f86ee Matrix addresses can be entered in the profile 2021-08-09 01:39:09 +00:00
Michael
fc283ab928 Remove direct calls to App->user 2021-08-08 10:14:56 +00:00
Michael
5a87ccf026 Getter/Setter for theme info 2021-07-25 19:39:10 +00:00
Michael
c52b8595e8 theme infos are now bundled in a single array 2021-07-25 19:07:03 +00:00
Hypolite Petovan
540dc90ce1 Merge frio-specific share block template into the base template
- Add BIDI support for share blocks
- Remove redundant share block styles
2021-07-09 19:23:01 -04:00
very-ape
857e14636f Bug fix: Keep the introductions notification badge from claiming its own line! 2021-05-21 15:58:35 -07:00
Hypolite Petovan
2cc4bd2490 Add RTL support to many input fields
- Compose page
- Post jot
- Comment form
- Event form
2021-05-20 08:39:37 -04:00
Hypolite Petovan
6d0f6d94cb Add RTL support for post titles and photo captions 2021-05-20 08:39:36 -04:00
Hypolite Petovan
8e005f7de2 Remove whitespace from opening HTML tag ending 2021-05-20 08:39:36 -04:00
Hypolite Petovan
f3aaed7541 Add RTL support for item body in search and photo body 2021-05-19 10:36:25 -04:00
Hypolite Petovan
b79b1a3e7b Remove whitespace before opening HTML tag closure 2021-05-19 10:35:58 -04:00
Hypolite Petovan
2c6bf754d5 Fix undefined variables in wall_thread.tpl
- Remove unused "num_comments_text" template variable
- Remove unused "item.postops" template variable mention
2021-05-10 18:59:09 -04:00
Hypolite Petovan
da2ce5c4f4 Fix undefined tamplate variables in comment_item.tpl
- Remove unused "type" hidden field in comment form
- Remove unused moderated_comment.tpl files
2021-05-10 18:56:26 -04:00
Hypolite Petovan
c76af27533 Add initial RTL support for post bodies 2021-05-01 15:13:53 -04:00
Hypolite Petovan
531e5d7f3e Add RTL support to profile name and description in the VCard 2021-05-01 15:13:39 -04:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Hypolite Petovan
07c938a950 Move vier-specific smileybutton styles to addon 2021-02-09 23:25:47 -05:00
Hypolite Petovan
5d270fbb54 Rename dostar() to doStar() 2021-01-31 14:21:09 -05:00
Hypolite Petovan
586d39420e Rename doignore to doIgnoreThread 2021-01-31 12:55:50 -05:00
Hypolite Petovan
3a18669730 Rename dolike to doActivityItem 2021-01-31 08:39:47 -05:00
Hypolite Petovan
b3b2bc96ba Rename dopin() to doPIn 2021-01-30 18:12:01 -05:00
Hypolite Petovan
77e9143d3a [non-Frio] Add edited date to post display 2021-01-07 10:25:34 -05:00
ImgBotApp
8a7b70e5ac
[ImgBot] Optimize images
*Total -- 3,606.88kb -> 3,454.97kb (4.21%)

/images/pause.gif -- 0.85kb -> 0.12kb (85.8%)
/images/rarrw.gif -- 0.98kb -> 0.20kb (79.28%)
/images/larrw.gif -- 0.98kb -> 0.21kb (78.98%)
/images/youtube_icon.gif -- 0.90kb -> 0.22kb (76.08%)
/images/lock_icon.gif -- 0.91kb -> 0.22kb (75.43%)
/images/unlock_icon.gif -- 0.92kb -> 0.23kb (74.95%)
/images/beer_mug.gif -- 1.00kb -> 0.30kb (69.83%)
/images/play.gif -- 0.89kb -> 0.31kb (65.46%)
/view/theme/smoothly/images/larrow.gif -- 0.97kb -> 0.38kb (60.9%)
/view/theme/smoothly/images/rarrow.gif -- 0.97kb -> 0.38kb (60.9%)
/images/camera-icon.gif -- 0.99kb -> 0.40kb (59.9%)
/doc/img/vier_icons.png -- 2.37kb -> 1.12kb (52.82%)
/images/friendica.svg -- 7.21kb -> 3.63kb (49.61%)
/images/spencil.gif -- 0.49kb -> 0.29kb (40.24%)
/images/globe.gif -- 1.00kb -> 0.61kb (39.02%)
/images/smiley-heart.gif -- 0.56kb -> 0.36kb (35.36%)
/images/smiley-brokenheart.gif -- 0.58kb -> 0.38kb (34.45%)
/view/theme/vier/icons.svg -- 82.44kb -> 54.11kb (34.36%)
/view/theme/smoothly/images/icons.svg -- 82.44kb -> 54.11kb (34.36%)
/images/friendica-404_svg_flexy-o-hare.png -- 14.21kb -> 10.90kb (23.31%)
/images/friendica-404_svg_hare-bottom-light-inside.png -- 5.89kb -> 4.54kb (22.98%)
/doc/img/editor_frio.png -- 9.44kb -> 7.55kb (19.98%)
/images/b_drop.gif -- 0.13kb -> 0.11kb (19.57%)
/images/b_dropshow.gif -- 0.13kb -> 0.11kb (19.57%)
/doc/img/editor_vier.png -- 7.91kb -> 6.48kb (18.06%)
/images/link-icon.gif -- 0.14kb -> 0.12kb (16.55%)
/images/discourse.png -- 11.89kb -> 10.20kb (14.24%)
/images/smiley-Oo.gif -- 0.98kb -> 0.89kb (8.67%)
/view/theme/frio/img/friendica-logo.svg -- 3.66kb -> 3.45kb (5.71%)
/images/humane-tech-badge.svg -- 49.17kb -> 46.72kb (5%)
/view/theme/duepuntozero/login-bg.gif -- 0.23kb -> 0.22kb (3.38%)
/view/theme/smoothly/images/login-bg.gif -- 0.23kb -> 0.22kb (3.38%)
/spec/dfrn2_contact_confirmation.svg -- 24.14kb -> 23.44kb (2.9%)
/spec/dfrn2_contact_request.svg -- 32.92kb -> 32.11kb (2.49%)
/view/theme/frio/font/open_sans/fonts/Light/OpenSans-Light.svg -- 258.16kb -> 252.11kb (2.35%)
/view/theme/frio/font/open_sans/fonts/Bold/OpenSans-Bold.svg -- 264.11kb -> 258.04kb (2.3%)
/view/theme/frio/font/open_sans/fonts/Semibold/OpenSans-Semibold.svg -- 264.13kb -> 258.07kb (2.29%)
/view/theme/frio/font/open_sans/fonts/ExtraBold/OpenSans-ExtraBold.svg -- 265.14kb -> 259.07kb (2.29%)
/view/theme/frio/font/open_sans/fonts/Regular/OpenSans-Regular.svg -- 266.09kb -> 260.03kb (2.28%)
/view/theme/frio/frameworks/bootstrap/fonts/glyphicons-halflings-regular.svg -- 106.19kb -> 103.92kb (2.14%)
/view/theme/frio/font/open_sans/fonts/ExtraBoldItalic/OpenSans-ExtraBoldItalic.svg -- 283.40kb -> 277.34kb (2.14%)
/view/theme/frio/font/open_sans/fonts/BoldItalic/OpenSans-BoldItalic.svg -- 284.26kb -> 278.21kb (2.13%)
/view/theme/frio/font/open_sans/fonts/SemiboldItalic/OpenSans-SemiboldItalic.svg -- 289.45kb -> 283.39kb (2.09%)
/view/theme/frio/font/open_sans/fonts/Italic/OpenSans-Italic.svg -- 290.77kb -> 284.70kb (2.09%)
/view/theme/frio/font/open_sans/fonts/LightItalic/OpenSans-LightItalic.svg -- 291.13kb -> 285.07kb (2.08%)
/images/person-300.jpg -- 11.05kb -> 10.83kb (2.05%)
/images/smiley-bangheaddesk.gif -- 0.86kb -> 0.85kb (1.92%)
/images/smiley-shaka.gif -- 2.37kb -> 2.33kb (1.9%)
/view/theme/vier/font/fontawesome-webfont.svg -- 357.05kb -> 352.24kb (1.35%)
/images/article.gif -- 1.04kb -> 1.03kb (0.75%)
/images/rotator.gif -- 0.81kb -> 0.80kb (0.48%)
/view/theme/frio/scheme/plusminus.jpg -- 22.34kb -> 22.32kb (0.09%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2021-01-05 11:37:29 +00:00
Hypolite Petovan
51b08769e2 [vier] Convert wall-item-body span to div
- This element contains the post body that can also contains block elements
2020-12-31 09:07:33 -05:00
Hypolite Petovan
a105caf833 Use App\Arguments instead of App->args in theme/vier/theme
- Address https://github.com/friendica/friendica/issues/9252#issuecomment-740069639
2020-12-08 09:57:58 -05:00
Michael
d4d55a5865 Issue 8605: "show less" now displays "show less" 2020-11-30 19:30:57 +00:00
Michael
b52ba79620 Contacts can now be updated from every theme 2020-11-22 08:15:17 +00:00
Michael Vogel
dc5624b0b6
Merge pull request #9543 from MrPetovan/bug/notices
Address several notices
2020-11-18 00:30:31 +01:00
Hypolite Petovan
260b9e7bd3 Improve expectation for not modified check in theme/vier/style
- Address https://github.com/friendica/friendica/issues/9252#issuecomment-721994406
2020-11-17 18:01:03 -05:00
Hypolite Petovan
b2c4116357 Replace JQuery .text by .html
- Prevents inserting unescaped HTML in page
2020-11-16 18:19:24 -05:00
Michael
89509f02e4 Move "remote self" to the contact settings 2020-10-24 21:42:49 +00:00
Michael
1fc36c4470 Only auto update when there is content 2020-10-20 20:43:51 +00:00
Hypolite Petovan
2f800b9171 [vier] Restore network page right sidebar forum widget feature 2020-10-16 08:43:13 -04:00
Michael
d3e19bc880 Support for real reshares 2020-10-11 08:49:47 +00:00
Michael
f255749c6a Issue 9358: liking and commenting on the community page now gives a feedback 2020-10-06 05:18:54 +00:00
Michael
88a0e976da Endless scrolling for searches and contact comments 2020-09-30 19:14:13 +00:00
Michael
c082109ff9 Show if a post arrived via relay 2020-09-21 12:31:20 +00:00
Michael Vogel
de3ed5faf4
Merge pull request #9197 from MrPetovan/bug/9192-normalize-escaping-item
Remove obsolete uses of Strings::escapeTags in mod/item
2020-09-16 22:10:19 +02:00
Michael
23bac84973 Improve "direction" icons on "vier", new direction "global" 2020-09-14 10:43:16 +00:00
Hypolite Petovan
3fa3e78844 Normalize item like/dislike template variable name 2020-09-13 20:01:54 -04:00
Hypolite Petovan
8d5eb61ea3 Normalize item comment template variable name 2020-09-13 20:01:54 -04:00
Hypolite Petovan
65b796ed1f Normalize item_photo_menu template variable name 2020-09-13 20:01:53 -04:00
Hypolite Petovan
2bfd53bf09 Normalize item body template variable name 2020-09-13 20:01:53 -04:00
Hypolite Petovan
9ff228812f Normalize item location template variable name 2020-09-13 20:01:51 -04:00
Michael
5a41cd437d Add additional direction types 2020-09-13 14:15:28 +00:00
Hypolite Petovan
fb0fa342be
Merge pull request #9174 from annando/issue-9167
Issue 9167 - messages from non-followers
2020-09-09 14:05:21 -04:00
Michael
555856208e Issue 9167: Adding more direction indicators 2020-09-09 16:54:18 +00:00
Hypolite Petovan
6ad75f5b41 Remove over-specific location fields from vcard in favor of "location" 2020-09-09 01:21:56 -04:00
Hypolite Petovan
730a5c5725 Improve post direction display
- [frio] Change icon for commented direction
- Update English translation string for commented direction
2020-09-03 15:45:53 -04:00
Michael
a7946d80b8 Added directions for the other themes 2020-08-23 18:54:32 +00:00
Michael
dd82f150ca Rework of the network page 2020-08-13 20:07:13 +00:00
Michael
a7d75702cc "Contact\User" class created 2020-08-04 04:47:02 +00:00
Michael
c03cf39c26 "gcontact" removed in the themes as well 2020-08-02 07:54:18 +00:00
Michael
0c73531da1 Poco and gcontact (mostly) removed 2020-08-01 16:15:18 +00:00
Michael
cc85bc4156 Replace "gcontact" with "contact" - imroved suggestions 2020-07-30 14:08:32 +00:00
Michael
71b6226909 Some more avatar function replacements 2020-07-28 19:30:55 +00:00
Hypolite Petovan
d7b5674476 Move mod/lockview to Module\PermissionTooltip
- Add explicit type parameter to lockview() in main.js
2020-07-27 01:58:53 -04:00
Hypolite Petovan
cb03418937 Add checks for $a->user existence
- Variable can be empty/null in many cases
2020-07-09 15:09:07 -04:00
Hypolite Petovan
18745b1723
Merge pull request #8765 from annando/fix-pubkey
Fix providing the public key
2020-06-12 16:42:16 -04:00
Michael Vogel
cf384da4b7 Fix providing the public key 2020-06-12 21:51:42 +02:00
Hypolite Petovan
34463f37e4 Rename contact table column to ffi_keyword_denylist 2020-06-07 11:24:52 -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
Michael
3b1d89252a Issue 8582: "cid" in "network" is now "contactid"
Fixes #8582
2020-05-17 15:01:27 +00:00
Hypolite Petovan
eb09bdfc96 [vier] Fix accordion logic in templates/settings/profile/index 2020-05-08 09:06:28 -04:00
Michael
ee3a724b41 Three more joins replaced with views 2020-04-24 20:39:14 +00:00
Hypolite Petovan
91fb396ec1 Refactor profile edit page
- Fix header hierarchy
- [frio] Fix panel display
2020-04-01 19:14:37 -04:00
Hypolite Petovan
49b71546ec Normalize vcard across themes display after profile fields reorganization 2020-03-11 08:19:28 -04:00
Michael
d63e903d9f Changed template for direction 2020-03-03 21:29:51 +00:00
Michael
0e0de5fcad Debug switch added, output added 2020-03-03 21:25:18 +00:00
Hypolite Petovan
b100b9600e Add rel="noopener noreferrer" to all target="_blank" links
See https://mathiasbynens.github.io/rel-noopener/
2020-02-24 20:07:34 -05:00
Hypolite Petovan
637e38e535 User hide_dislike user setting to hide dislike button and conversation responses 2020-02-20 05:37:07 -05:00