Commit Graph

135 Commits

Author SHA1 Message Date
Hypolite Petovan eacfcc69c1 Move contact posts to their own module class
- Remove duplicated check for local_user() in Module\Contact
- [frio] Fix display issue for search items where the More button and icon would show but be inactive
2021-11-21 19:21:39 -05: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 c76af27533 Add initial RTL support for post bodies 2021-05-01 15:13:53 -04:00
Hypolite Petovan 7f78d6e722 Replace references of GET mod/substhread with POST item/{id}/follow 2021-01-31 17:36:18 -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 590d44df5f [frio] Add block author button in More dropdown 2021-01-23 05:33:15 -05:00
Hypolite Petovan c8604895c4 [frio] Add share dropdown to mobile post view
- This should prevent accidental taps from resharing content unwittingly
2021-01-07 10:13:40 -05:00
Michael f3fd99da60 Don't change resharer when resharing 2020-10-11 17:37:04 +00:00
Michael d3e19bc880 Support for real reshares 2020-10-11 08:49:47 +00:00
Michael b6b28b1541 Display the languages in the post 2020-10-04 18:52:28 +00:00
Hypolite Petovan 8d5eb61ea3 Normalize item comment template variable name 2020-09-13 20:01:54 -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
Hypolite Petovan 70563d251f Improve display of post header reshare mention
- Fix typo in class name
- Add bottom margin with a p tag
- Distinguish reshare header style from reshare footer style
2020-09-09 11:41:23 -04:00
Michael b248470376 Show "retweet" icon 2020-09-09 05:35:04 +00:00
Michael 206caaf51a Reshared data now is a link 2020-09-09 04:49:42 +00:00
Michael 42dcd6646e Issue 9135: Display only reshared posts at the top 2020-09-08 22:06:10 +00:00
Hypolite Petovan d849307725 [frio] Move reshare info on top of posts in network page
- Increase consistency with other social media platforms display
2020-09-03 15:45:56 -04:00
Michael dd82f150ca Rework of the network page 2020-08-13 20:07:13 +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 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 d63e903d9f Changed template for direction 2020-03-03 21:29:51 +00:00
Michael d64bb0dd8f Remotely load posts to comment on them on the own page 2020-02-18 06:57:38 +00:00
Michael 303fb65574 Frio: Only display item menu separator when there is something to separate 2020-02-13 22:46:27 +00:00
Hypolite Petovan 2afdc69c20 [frio] Add narrow screen short item action button row 2020-02-12 21:26:49 -05:00
Hypolite Petovan 4e17aab96a [frio] Prevent more action menu to be clipped by the post box
- Address https://friendica.mrpetovan.com/display/0b6b25a8-615e-3dda-937e-21e937937450
- Move external link back to the post top right
- Prevent more action menu to become semi-transparent on post mouseout
2020-02-09 17:47:41 -05:00
Michael d37fd69477 Replaced spaces with tabs 2020-02-07 05:57:41 +00:00
Michael 6e02105d88 Useless links removed / Item menu is moved to the item actions bar 2020-02-06 22:06:24 +00:00
Hypolite Petovan 4d77da86b9 [frio] Improve pinned item display 2020-01-26 14:21:20 -05:00
Michael 06a4461fc4 Improved icons 2019-11-08 10:25:50 +00:00
Michael ed58af25a5 show pinned items 2019-11-07 06:53:18 +00:00
Michael cf56992444 We can now pin our own posts 2019-11-07 05:39:15 +00:00
Tobias Diekershoff ebfedbc449 add links to cat.url 2019-11-03 15:55:58 +01:00
Hypolite Petovan e67833a784 [frio] Add click card on contact avatars 2019-11-02 12:48:04 -04:00
Michael b4f02a0dc5 Added title 2019-08-28 09:23:21 +00:00
Michael 9cbf320c86 Issue 7563: Use icons instead of names on posts 2019-08-28 06:38:35 +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 34bc0b0c97 Add potential debug display of implicit mentions in frio
- Refactored conversation() by removing extraneous intermediary variables
2019-02-23 17:32:11 -05:00
Hypolite Petovan 44b556aaa6 [frio] Change comment expand icons to carets 2019-02-18 08:23:05 -05:00
Hypolite Petovan 3cabddcdec [frio] Hide fake comment form when comment form isn't present 2019-02-16 18:40:05 -05: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 80b60ae4ff Bugfix: remove useless </a> for categories from wall_thread template 2019-02-06 17:08:13 +01:00
Hypolite Petovan e2d32caa78 Update delivery count display
- Hide display when item is preceding the feature
- Wrap the display in its own span
- Remove delivery bullet from wall_thread.tpl
- [frio] Make delivery icon fainter
2019-01-23 00:05:53 -05:00
Hypolite Petovan 7ff1b19cc0 Restore display of delivery status 2019-01-22 23:39:06 -05:00
Hypolite Petovan 6538a8eaca Add delivery queue display in frio and vier
- Add new $item.owner_self and $item.delivery keys for display
- Add new sub/delivery_count.tpl template
2019-01-21 09:39:13 -05:00
Hypolite Petovan 2776b1443b Fix post location escaping 2018-12-21 00:06:37 -05:00
Michael c7a636fe18 Fixing templates - unescaping it again 2018-12-20 21:57:53 +00:00
Hypolite Petovan c407fb7963 Avoid escaping relevant template variables 2018-12-16 22:38:32 -05:00
Hypolite Petovan 2241ba4540 Remove uses of HTML escaping in Smarty templates 2018-12-16 22:38:30 -05:00
Michael 6075245b84 Much more escapes 2018-11-25 20:34:02 +00:00
Michael 56f21a4b89 Some more escaping 2018-11-25 19:26:46 +00:00
Michael 4f9f86e310 We are now escaping many template fields 2018-11-25 18:56:26 +00:00
Jonny Tischbein b66bcb20da Redirect to previous page after NON-AJAX Post delete via second parameter in /item/drop 2018-10-31 20:09:44 +01:00
rabuzarus 8789aedf6b Frio - Bring back some padding space (#5585)
* frio - bring back the optical dividing space in the profile widget

* frio - bring back the optical dividing space between the profile picture and the separator line
2018-08-08 12:58:58 +02:00
Hypolite Petovan 6cf5fd56e5 [frio] Increase content space on <600px width devices 2018-08-04 20:54:58 +02:00
hoergen 39abfb547d Update wall_thread.tpl (#5352)
* Update wall_thread.tpl

named an unnamed style definition to can address it via css

* Update style.css

Added div wall-spacer definition

* Update wall_thread.tpl

removed wall-spacer definition. moved to main css

* Update style.css

* Update wall_thread.tpl
2018-07-10 09:31:29 -04:00
Hypolite Petovan daffc27061 Move suppress_tags config to template
- Add new item.suppress_tags template variable
- Fix template formatting
2018-03-25 00:38:23 -04:00
rabuzarus f2d51737eb fix some HTML violations in frio 2017-10-20 15:21:42 +02:00
rabuzarus a6e8734a37 Bugfix: fix some duplicate ID 2017-10-18 23:22:05 +02:00
Michael e8a2c68647 The plink in Diaspora posts now links to the correct place 2017-09-23 08:52:06 +00:00
rabuzarus ccb3f6b655 Add subthread to frio (needs reanabling the frio theme) 2017-08-02 15:52:11 +02:00
Michael c98ae304c0 Endless scroll now avoids showing the same items 2017-07-31 06:04:37 +00:00
Hypolite Petovan 359c246ef9 Various fixes
- Removed superfluous CSS rule
- Fixed whitespace
- Restored separators in search_item.tpl
2017-03-25 20:43:33 -04:00
Hypolite Petovan 85144908fa Improve display feedback on like actions
- Move rotator in sight
- Preventively change display class before next item update
2017-03-23 22:47:56 -04:00
Hypolite Petovan 214c76fec7 Reverted original display for item action links + jot bbcode buttons
- Cleaned useless CSS
2017-03-15 22:00:07 -04:00
Hypolite Petovan 7cb44ae25a Turn all the action <a> tags into buttons
- Add CSS changes to support both <a> and <button class="btn btn-link">
- Removed unnecessary "return false" in onclick attributes
- Simplified tabs in profile page to native Bootstrap behavior
2017-03-14 23:47:02 -04:00
Hypolite Petovan 79f14749df Merge branch 'develop' into improvement/frio-action-links-to-buttons
# Conflicts:
#	view/theme/frio/templates/search_item.tpl
#	view/theme/frio/templates/wall_thread.tpl
2017-03-14 10:45:17 -04:00
Hypolite Petovan 327b00117d Improve dropItem() functionality
- Drop the obsolete `#` char
- Add error case when deleting item
- Add item drop support to search items
- Add doc
2017-03-13 12:12:13 -04:00
Hypolite Petovan f2a0c9fad1 Fix scrollToItem breaking dropItem functionality
- Add doc
- Refactor function by removing double jQuery wrapping
2017-03-13 12:10:03 -04:00
Hypolite Petovan 3ea830e221 Strip @hubzilla.server part from guid for autoscrolling purpuses 2017-03-03 21:45:36 -05:00
Hypolite Petovan 71f00eaf5f Turn action links into buttons
- Turns <a role="button"> into <button type="button"> for responses and
dropdown menu in wall_thread.tpl
- Removes extraneous decorations
- Updates dropdown style to prevent hover shenanigans
- Add theme color to active "btn-default" buttons
- Add margin top to comment box that was stuck to the action buttons
2017-03-03 01:00:52 -05:00
Hypolite Petovan a55c03896c [frio] Enable Like Rotator on posts
- Move rotator from hidden block to post header
2016-11-22 16:31:01 +01:00
Hypolite Petovan bdc7d1b87a [frio] Add active class to responses current user holds
- Add active class when the self attribute is found
- Add CSS styling to active response links
2016-11-22 16:30:48 +01:00
Hypolite Petovan 98d52bc568 [frio] fix wall_thread.tpl error with unstareable items 2016-11-04 21:19:07 -04:00
Ben Roberts 864cf0f70d update MF2 and vcard data for issue #2629 2016-06-21 10:23:43 -04:00
Michael Vogel 09931b7124 frio: Some small template clean up 2016-05-29 23:42:22 +02:00
Michael Vogel 47efc6df63 Frio: The separator dots are enabled again 2016-05-29 23:02:48 +02:00
Michael Vogel add258ac08 Frio: Like, Dislike and comment are having icons, links are underlined 2016-05-28 09:57:19 +02:00
Michael Vogel 2d6740c340 Frio: Added a link to the thread on the same server 2016-05-26 23:23:24 +02:00
rabuzarus b67378ac69 restructuring for PR for friendica main repo 2016-05-25 15:12:29 +02:00
Renamed from templates/wall_thread.tpl (Browse further)