Commit graph

784 commits

Author SHA1 Message Date
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
Hypolite Petovan
b9325251e8 Add Theme::getBackgroundColor and Theme::getThemeColor methods 2020-02-19 10:28:57 -05:00
Hypolite Petovan
61cc047611
Merge pull request #8309 from annando/remote-comment
Remotely load posts to comment on them on the own page
2020-02-18 13:29:11 -05:00
Michael
d64bb0dd8f Remotely load posts to comment on them on the own page 2020-02-18 06:57:38 +00:00
Steffen K9
e342d2bd81
fix view profile link vier 2020-02-17 20:19:10 +01:00
Michael
3bd1f3a836 No more gender 2020-02-16 10:55:18 +00:00
Michael Vogel
13a10b8f20
Merge pull request #8277 from MrPetovan/task/8251-use-about-for-pdesc
Remove profile about field double HTML escaping
2020-02-12 05:23:04 +01:00
Hypolite Petovan
1ce5b1d65b Remove profile about field double HTML escaping
- Add BBcode conversion for profile.about in widget/vcard.tpl
2020-02-11 21:38:42 -05:00
Michael Vogel
e80d68ba53
Merge pull request #8261 from MrPetovan/task/8251-use-about-for-pdesc
Use profile.about for profile description
2020-02-10 23:36:59 +01:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00
Hypolite Petovan
a42104ce43 Use profile.about instead of profile.pdesc for profile description 2020-02-09 02:36:19 -05:00
Michael
6e02105d88 Useless links removed / Item menu is moved to the item actions bar 2020-02-06 22:06:24 +00:00
Michael
cf9070c396 Removed unneeded CSS and JS stuff 2020-02-05 16:30:35 +00:00
Hypolite Petovan
71cefc7c9e Add version parameter to scripts and stylesheet paths in view/ 2020-01-31 19:42:02 -05:00
Hypolite Petovan
e69497454b Remove uses of profile.marital 2020-01-27 23:01:25 -05:00
Philipp
09de4a5b47
Merge pull request #8156 from MrPetovan/task/7817-custom-fields-part-2
New custom profile fields feature part 2: Feature switcheroo
2020-01-24 20:17:52 +01:00
nupplaPhil
0458b9c2df
rename notify => notification once more :-) 2020-01-24 19:08:03 +01:00
nupplaPhil
b229939c3d
rename CSS attributes notify => notification 2020-01-24 18:56:34 +01:00
Hypolite Petovan
18cfd8dfaa Remove references to deprecated profile.is-default and profile.profile-name fields 2020-01-22 19:42:37 -05:00
Hypolite Petovan
64c05f2280 Add custom fields help text 2020-01-22 19:42:36 -05:00
Hypolite Petovan
cc007f715d Add sortability to custom profile fields form 2020-01-22 19:42:36 -05:00
Hypolite Petovan
6657cf7bb1 Rework profile setting page with custom fields 2020-01-22 19:42:35 -05:00
Hypolite Petovan
d475cb5028 Replace advanced profile display with custom profile fields
- Merge all profile/advanced.tpl theme templates into profile/index.tpl
- Remove obsolete Model\Profile::getAdvanced method
2020-01-22 19:42:34 -05:00
Hypolite Petovan
f6f4cbab9d Remove multi profiles feature
- Remove mod/profperm
- Remove additional feature
- Remove profile visibility on contact page
- Remove profile list templates
2020-01-22 19:42:33 -05:00
Hypolite Petovan
d1be68b754 Move Module\Profile to Module\Profile\Index
- Move /profiles to Module\Settings\Profile\Index
2020-01-22 19:42:32 -05:00
Hypolite Petovan
6d7f0a6fd8 Remove duplicate profile_uid key in App->profile array 2020-01-20 07:32:46 -05:00
Hypolite Petovan
9803c96db4 Move profile-related templates to sub-folder 2020-01-20 07:27:14 -05:00
nupplaPhil
ed9392469e
Remove unneeded Config namespace usages 2020-01-19 22:50:44 +01:00
nupplaPhil
3411ced833
Move Config::set() to DI::config()->set() 2020-01-19 21:21:53 +01:00
nupplaPhil
6c36fd9e01
Move Config::get() to DI::config()->get() 2020-01-19 21:21:13 +01:00
nupplaPhil
d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00
nupplaPhil
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
nupplaPhil
800694e9b3
Remove unused use statements & remove PConfig class 2020-01-18 17:02:59 +01:00
nupplaPhil
88bb66371c
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:50 +01:00
nupplaPhil
9e9429b56d
Move PConfig::get() to DI::pConfig()->get() 2020-01-18 16:50:57 +01:00
Hypolite Petovan
7db4c7ea02
Merge pull request #8118 from annando/spamcheck
Improved spam protection
2020-01-15 13:15:17 -05:00
Michael Vogel
8ebc385772 Improved spam protection 2020-01-15 18:55:32 +01:00
Michael
c7beffa5ca Vier: The forumlist doesn't appear on the left in wide view 2020-01-13 22:14:14 +00:00
Hypolite Petovan
393a671501
Merge pull request #8055 from nupplaphil/task/remove_get_server
Remove get_server() in favor of Search::getGlobalDirectory()
2020-01-04 20:10:50 -05:00
nupplaPhil
48baa0be4b
Remove get_server() in favor of Search::getGlobalDirectory() 2020-01-05 00:04:55 +01:00
nupplaPhil
f0eea6f875
Remove get_app() in favor of DI::app() 2020-01-04 23:42:01 +01:00
nupplaPhil
a4a7f19df1
Move redundant System::removedBaseUrl() to DI::baseUrl()->remove() calls 2019-12-30 23:03:56 +01:00
nupplaPhil
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls 2019-12-30 23:00:08 +01:00
nupplaPhil
6d7362da41
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:09 +01:00
nupplaPhil
26af2feee2
Remove deprecated App::is_mobile/is_tablet - replace with DI::mode()->isMobile()/isTablet() 2019-12-29 20:17:50 +01:00
nupplaPhil
e93fba5136
Remove deprecated App::removeBaseURL - process methods to DI::baseUrl()->remove() 2019-12-29 20:17:45 +01:00
Hypolite Petovan
8892b3daa1 Remove obsolete CSS styles related to the old ACL selector 2019-11-30 10:44:36 -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
8b836189d4 Replace deprecated defaults() calls with ?? and ?: in include/ and view/ 2019-10-16 08:51: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
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
02f02d44dc Move mod/manage to src/Module/Delegation
- Move templates/manage to templates/delegation
- Update navigation links
- Update CSS classes
2019-10-11 19:59:06 -04:00
Hypolite Petovan
22598fc7e8 Improve search box
- Use new saved search module
- Use dynamic search option loop
- Use "q" instead of "search" for search query string parameter
2019-10-07 14:27:46 -04:00
Hypolite Petovan
ca65181577 Add necessary required_once statement in theme/vier/config.php
- Vier config.php depends on a function declared in theme.php
2019-10-06 08:46:56 -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
Tobias Diekershoff
b02669eee9 fix vier mobile display 2019-08-19 10:34:42 +02:00
Hypolite Petovan
c25527cbe8 Replace obsolete #comment-preview-inp field by query string append 2019-07-29 21:58:37 -04:00
Philipp
fb63274aaf
Merge pull request #7250 from MrPetovan/bug/6410-normalize-message-button
Normalize message button in profile sidebar
2019-06-12 17:56:05 +02:00
Hypolite Petovan
0af10a42b0 Normalize logout link behavior across themes 2019-06-11 19:42:08 -04:00
Hypolite Petovan
b00bcbb1c1 Normalize the contact sidebar with the profile sidebar
- Remove un/follow text links in contact status window
2019-06-10 21:56:06 -04:00
Hypolite Petovan
3aebb92cf3 Rework Profile::sidebar profile link conditions
- Now show Follow, Unfollow, Atom Feed and Message in profile sidebar more consistently with the status of the current visitor
- Remove pseudo-field contact.remoteconnect
2019-06-10 21:56:03 -04:00
Hypolite Petovan
ed768c71ee Remove "f=&" nonsense from network module
- Fixes wrong redirect when using the sidebar filters
2019-05-27 17:45:27 -04:00
Hypolite Petovan
71ae8d07a6 Refactor widgets
- Move widget templates to subfolder
- Add new generic filter widget templates to replace category, network and filer filters
- Update styles
2019-05-18 11:33:35 -04: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
9774c95b80 Remove duplicate $baseurl template variable
- Remove unused $overwriteURL parameter in Renderer::replaceMacros
2019-05-02 09:55: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
Tobias Diekershoff
686f67fb90 vier mobile: private mail width 2019-04-08 07:27:19 +02:00
Hypolite Petovan
c713c2bf62
Merge pull request #6955 from tobiasd/20190331-vier
vier mobile enhancements
2019-04-04 14:22:34 -04:00
Hypolite Petovan
b529c03a20 Sanitize theme path items
- Sanitize theme style/color/scheme path items
2019-03-31 21:52:48 -04:00
Tobias Diekershoff
820e2a89f9 add search to user menu as well 2019-03-31 15:20:23 +02:00
Tobias Diekershoff
843b9f71c1 be consistent with messages and admin links as both are in the nav bar and the user menu 2019-03-31 11:24:17 +02:00
Tobias Diekershoff
174e71cc36 mobile view: show events and admin, but hide pm link 2019-03-31 11:18:41 +02:00
Tobias Diekershoff
afd751ee74 add link to admin panel as well, but keep icon as it is really handy 2019-03-31 11:17:59 +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
Michael
f226464acc Don't auto mention yourself or forums, don't do it in the firstlevel post 2019-01-30 03:36:24 +00:00
Michael
d40b2792b6 Display mentioned users and in the comment box by default 2019-01-28 21:22:03 +00:00
Hypolite Petovan
043521fb47 Switch to supported HTML entity for bullet in delivery indicator 2019-01-26 19:42:13 -05: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
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
Michael
2a0e18c7dd Bugfix: Theme functions hadn't been executed anymore 2019-01-18 20:08:35 +00:00
Hypolite Petovan
1bdb3c916a Make style.php require query parameter puid for specific stylesheets 2019-01-12 02:21:12 -05:00
Hypolite Petovan
e447375cdd
Merge branch '2019.01-rc' into bug/6334-escape-get-app 2019-01-06 16:38:48 -05:00
Hypolite Petovan
4bf2701912
Merge pull request #6400 from annando/issue-6394
Issue 6394: The contact location has to be BBEncoded
2019-01-06 16:37:43 -05:00
Michael
7e19506435 Issue 6394: The contact location has to be BBEncoded 2019-01-06 21:04:10 +00:00
Hypolite Petovan
73882ff58f [vier] Add message icon link in header nav 2019-01-03 23:07:03 -05:00
Hypolite Petovan
5e1ceb57de Escape global namespaced get_app() calls
- Add deprecated status
2019-01-03 21:27:36 -05:00
Michael Vogel
0eef382e82
Merge pull request #6365 from MrPetovan/bug/6363-unescape-prev-next-link
Unescape $prevlink and $nextlink template variables
2019-01-03 04:54:12 +01:00
Hypolite Petovan
ff50f2bb65 Unescape $prevlink and $nextlink template variables 2019-01-02 19:06:23 -05:00
Hypolite Petovan
2f15f1c477 Unescape profiles template variables 2019-01-01 11:45:36 -05:00
Hypolite Petovan
620395378e Normalize uses of Strings::formatNetworkName to $network_link
- Unescape HTML template variable $network_link
2018-12-26 11:11:38 -05:00
Hypolite Petovan
b1e85ba605 Fix template escaping in photo gallery view 2018-12-23 10:51:18 -05:00
Michael
bd356a4149 Unescape tags 2018-12-21 06:15:22 +00:00
Hypolite Petovan
2776b1443b Fix post location escaping 2018-12-21 00:06:37 -05:00
Hypolite Petovan
6b481aaac6 Fix advanced profile fields escaping 2018-12-21 00:06:22 -05:00
Michael
c7a636fe18 Fixing templates - unescaping it again 2018-12-20 21:57:53 +00:00
Hypolite Petovan
a01bdbbe2d Fix wrong merge + nofilter in contact_edit 2018-12-18 08:39:26 -05:00
Hypolite Petovan
e1b3bcc77d Unescape yet more values with a focus on the vier theme 2018-12-16 22:38:32 -05: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
Hypolite Petovan
924869ab5b
Merge branch 'develop' into bug/6211-fix-contact-nets-all 2018-12-02 10:24:50 -05:00
Hypolite Petovan
458981f75c Replace x() by isset(), !empty() or defaults()
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
Hypolite Petovan
663ba65f17 Remove "all" value for nets parameter 2018-11-30 05:43:07 -05:00
Michael
73528fa279 Some correction 2018-11-25 20:40:30 +00:00
Michael
6075245b84 Much more escapes 2018-11-25 20:34:02 +00:00
Michael
7381540039 Escaping the address field 2018-11-25 20:04:01 +00:00
Michael
4f9f86e310 We are now escaping many template fields 2018-11-25 18:56:26 +00:00
Adam Magness
ffc406d819 normalise_link calls
implement normaliseLink function
2018-11-08 11:28:29 -05:00
Jonny Tischbein
6b43174a74 Fix for vier theme / NonAjax Call 2018-10-31 20:09:44 +01:00
Adam Magness
70f01d6c00 Template Engine and props to Renderer
move methods and props from App to Renderer
2018-10-31 13:25:38 -04:00
Adam Magness
35abc4bb64 get markup template
implement getMarkupTemplate function
2018-10-31 10:44:06 -04:00
Adam Magness
91facd2d0a replace macros
implement new replaceMacros function
2018-10-31 10:35:50 -04:00
Adam Magness
50da89d861 Logger Levels
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b Log function
implement log() function.
2018-10-30 09:57:14 -04:00
Adam Magness
2db8c7d64f Fix template urls from contacts/ to contact/
Update templates to match recent contact/ changes.
2018-10-17 07:25:23 -04:00
Philipp Holzer
5a02e39a65
Rename App Methods
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
Hypolite Petovan
903290a764
Revert "Word Wrap for long words in comments" 2018-10-09 15:09:51 -04:00
Jonny Tischbein
c0fc3c9845 frio set working css property + adding fix for vier 2018-10-09 17:12:28 +02:00
Hypolite Petovan
18c8a7f247 Fix inline code span display 2018-09-19 23:10:41 -04:00
Michael Vogel
edcd0a3744 Issue 4960: Ignoring and blocking of contacts should work again (#5657)
* Issue 4960: Ignoring and blocking of contacts should work again

* Renamed functions

* This function should be renamed as well.

* We now have a frontend to block and ignore public contacts

* Hide some parts for public contacts

* Removed notices, public contact is now accessible from dirfind as well

* We now show contact conversations and contact posts

* We now use a new conversation mode

* The update functionality is disabled until it will work completely

* Fixing tabs chaos

* Update after posts on the contacts page will now work

* Show connect link
2018-08-25 09:48:00 -04:00
Michael Vogel
54aee2aaa7 Removed notices that revealed themselfes over night ... (#5645)
* Removed notices that revealed themselfes over night ...

* And more notices removed that occured over night

* One more ..

* Some more notices of the day ...
2018-08-21 17:35:09 +02:00
Tobias Diekershoff
b58e812202 vier theme, wider popup-menu 2018-08-07 10:12:10 +02:00
Roland Häder
4d39164c1e [WIP] Rewrite to Proxy class: (#5507)
* Rewrite to Proxy class:
- introduced new Friendica\Network\Proxy class for in exchange of proxy_*()
  functions
- moved also all PROXY_* constants there as Proxy::*
- removed now no longer needed mod/proxy.php loading as composer's auto-load
  will do this for us
- renamed those proxy_*() functions to better names:
  + proxy_init()           -> Proxy::init()         (public)
  + proxy_url()            -> Proxy::proxifyUrl()   (public)
  + proxy_parse_html()     -> Proxy::proxifyHtml()  (public)
  + proxy_is_local_image() -> Proxy::isLocalImage() (private)
  + proxy_parse_query()    -> Proxy::parseQuery()   (private)
  + proxy_img_cb()         -> Proxy::replaceUrl()   (private)

* Ops, need to set $a here ...

* CR request:
- moved Proxy class to Friendica\Module
- extended BaseModule

* Ops, no need for own instance of $a when self::getApp() is around.

* Proxy-rewrite:
- proxy_url() and proxy_parse_html() are both non-module functions (now
  methods)
- so they must be splitted into a seperate class
- also the SIZE_* and DEFAULT_TIME constants are both not relevant to module

* No instances from utility classes

* Fixed error:
- proxify*() is now located in `Friendica\Util\ProxyUtils`

* Moved back to original place, ops? How did they move here? Well, it was not
intended by me.

* Removed duplicate (left-over from split) constants and static array. Thank to
MrPetovan finding it.

* Renamed ProxyUtils -> Proxy and aliased it back to ProxyUtils.
2018-07-30 22:06:22 -04:00