Commit graph

1178 commits

Author SHA1 Message Date
Hypolite Petovan
01e71254d9 Replace defaults() calls on $_SESSION by Core\Session calls
- Replace direct calls to $_SESSION by Core\Session calls in Module\Login
2019-05-26 21:26:59 -04:00
Philipp Holzer
78a20e5acb
Fix hovercard vanish 2019-05-26 21:42:49 +02:00
Hypolite Petovan
709eba6ce3 Move /viewcontacts to /profile/{nickname}/contacts[/{type}]
- Add contact relationship filter to profile contacts page
- Include feed contacts in contacts page and contact widget
2019-05-20 14:50:09 -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
Hypolite Petovan
0c63f8aa42 Add contact block reason form and display in admin page 2019-05-15 19:30:13 -04:00
Michael
37f9af2f24 Merge remote-tracking branch 'upstream/develop' into separated-confirm 2019-05-06 05:54:51 +00:00
Michael
5da3e17a12 The follow confirmation process is now separated between DFRN and the rest 2019-05-06 05:46:13 +00:00
Hypolite Petovan
c969635bbc Add style to exception page 2019-05-04 21:54:05 -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
9f4fb4906a Move addon admin list generation to Core\Addon 2019-05-02 09:55:49 -04: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
d8125eb3db Make the site admin theme setting link go to the currently selected theme 2019-05-02 09:52:55 -04:00
Hypolite Petovan
740723534f Move admin/site to src/Module
- Replace default theme settings modal with simple link to admin/themes
2019-05-02 09:52:50 -04:00
Hypolite Petovan
d6a5274bb9 [frio] Update theme settings form for use in embed mode
- Replace jRange with native slider to prevent overflowing on the right in embed mode
- Move color swatch to the left of colorinput fields to prevent overflowing on the right in embed mode
2019-05-02 09:52:48 -04: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
611220cb53 Improve display in minimal mode 2019-05-02 09:52:48 -04:00
Hypolite Petovan
5a01c53781 Move admin/queue to src/Module
- Add Module\Admin\Queue class
- Add route for admin/queue[/deferred]
- Add queue admin aside menu entry
- Remove obsolete templates/admin/queue.tpl from base and frio
- Move templates/admin/workerqueue.tpl to templates/admin/queue.tpl
- Remove admin_page_workerqueue and admin_page_workerqueue_post from mod/admin.php
- Update admin/summary.tpl with new queue admin paths
2019-05-02 09:52:48 -04:00
Hypolite Petovan
cf885841c8 Move admin/blocklist/contact to src/Module
- Add Module\Admin\ContactBlock\Contact class
- Add route for admin/blocklist/contact
- Add contact blocklist admin aside menu entry
- Move templates/admin/contactblock.tpl to templates/admin/blocklist/contact.tpl in base and frio
- Remove admin_page_contactblock and admin_page_contactblock_post from mod/admin.php
2019-05-02 09:52:46 -04:00
Hypolite Petovan
f3f055758c Move admin/users to src/Module
- Add Module\Admin\Users class
- Add route for admin/users[/{action}/{uid}]
- Add users admin aside menu entry
- Remove admin_page_users and admin_page_users_post from mod/admin.php
2019-05-02 09:52:45 -04:00
Hypolite Petovan
9bbb438534 Move admin/addons to src/Module
- Add Module\Admin\Addons\Index class
- Add route for admin/addons
- Add addons admin aside menu entry
- Remove unused template admin/addons.tpl from base and frio
- Remove addon list from mod/admin
2019-05-02 09:52:44 -04:00
Hypolite Petovan
6387a77b52 Move admin summary to src/Module
- Add BaseAdminModule class
- Add Module\Admin\Summary class
- Add Route for Admin\Summary module
- Remove admin_page_summary() in mod/admin
- Remove $showwarning variable from admin/summary.tpl
2019-05-02 09:52:41 -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
608c80819c Remove obsolete hack in file browser template 2019-04-13 19:05:14 -04:00
Michael
46a99a05a1 Remove the queue from the core 2019-04-05 18:04:39 +00:00
Jeroen De Meerleer
008b66ac2c Changed keyup to oninput 2019-04-02 15:13:44 +02:00
Hypolite Petovan
b529c03a20 Sanitize theme path items
- Sanitize theme style/color/scheme path items
2019-03-31 21:52:48 -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
898f7e7e38 Add connector collapsible panel in permission
- Replace HTML string by structured array in jot_networks hook
- Add collapsed panel when there are more than two connectors
2019-03-24 22:40:50 -04:00
Adam Clark
ef850a0567 Updated Bootstrap to 3.4.1 2019-03-22 22:28:12 -04:00
Jeroen De Meerleer
bf04bccc77 No schemestring update if focus 2019-03-22 22:28:11 -04:00
Jeroen De Meerleer
a8cc4b3362 I will not share options that are not being used. 2019-03-22 22:28:10 -04:00
Jeroen De Meerleer
1c33c20940 Add a comment 2019-03-22 22:28:10 -04:00
Jeroen De Meerleer
42769c6976 Changed spaces into tabs 2019-03-22 22:28:09 -04:00
Jeroen De Meerleer
3af3887bfa Added background image sharing
Why did I miss this?
2019-03-22 22:28:09 -04:00
Jeroen De Meerleer
10a8d6a563 Implemented parsing share string 2019-03-22 22:28:08 -04:00
Jeroen De Meerleer
9a8dc9d9a6 Better way to stringify theme 2019-03-22 22:28:07 -04:00
Jeroen De Meerleer
2a8b4d6e29 I don't like undefined 2019-03-22 22:28:07 -04:00
Jeroen De Meerleer
1e84411e84 Added string creation 2019-03-22 22:28:07 -04:00
Jeroen De Meerleer
ffa7d7659b Added the share_string field 2019-03-22 22:28:07 -04:00
Tobias Diekershoff
6ca525846b this label does not need a filter 2019-03-22 00:42:29 +01:00
Hypolite Petovan
3ab0f90654 [frio] Add slash to punctuation wrapper template 2019-03-19 08:05:25 -04:00
Hypolite Petovan
f97db3add9 [frio] Add punctuation wrap on several profile fields
- Add sub/punct_wrap.tpl template
2019-03-18 21:02:58 -04:00
Michael
2cdd5a4940 Fixes errors/notices 2019-03-17 22:13:17 +00:00
Hypolite Petovan
d6a607558b Add frio.scheme pconfig value type check
- Addresses https://github.com/friendica/friendica/issues/6338#issuecomment-471118589
2019-03-08 22:05:14 -05:00
Hypolite Petovan
a1f7c1215d Fix typo to ensure config backward compatibility in frio/php/scheme.php 2019-03-08 22:04:38 -05:00
Philipp Holzer
4d4ad5c042
wrong intend 2019-03-02 17:27:51 +01:00
Philipp Holzer
d7dd9f8bee
Word-wrap for long lines 2019-03-02 16:02:27 +01:00
Michael Vogel
4c6c5786ad
Merge pull request #6752 from MrPetovan/bug/notices
Fix various notices
2019-02-24 21:30:07 +01:00
Hypolite Petovan
f95f6eced9 Add scheme input protection in frio/config.php
- Addresses https://github.com/friendica/friendica/issues/6338#issuecomment-464912016
2019-02-24 14:32:51 -05:00
Hypolite Petovan
8adc761da0
Merge pull request #6747 from nupplaphil/issue/6677-frio_admin
Fixing frio theme customization for admin
2019-02-24 10:30:37 -05:00
Philipp Holzer
758444a7d2
empty is better than isset 2019-02-24 15:48:30 +01:00
Michael Vogel
fa5525d084
Merge pull request #6726 from MrPetovan/task/6676-fix-implicit-mentions
Fix last batch of implicit mentions issues
2019-02-24 15:40:11 +01:00
Philipp Holzer
da4fc0411e
Fixing admin scheme-change in frio 2019-02-24 15:40:05 +01:00
Hypolite Petovan
0a58e4c952 Improve contactgroupChangeMember() javascript function
- Add usage of new /group/123/add|remove/123 URL
- Add checkbox revert in case of error
2019-02-23 17:32:41 -05: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
Michael
7e93355671 Fix: Following url with html entities now works again 2019-02-23 21:20:56 +00:00
Michael Vogel
e32ef66f68
Merge pull request #6688 from nupplaphil/preload_adapter_fix
Preload adapter fix
2019-02-18 15:47:26 +01:00
Philipp Holzer
6c22f70b62
revert style.php changes 2019-02-18 14:48:26 +01:00
Hypolite Petovan
44b556aaa6 [frio] Change comment expand icons to carets 2019-02-18 08:23:05 -05:00
Philipp Holzer
f825fa1d1c
tmp alert 2019-02-18 14:21:13 +01:00
Hypolite Petovan
d6944eb894
Merge pull request #6683 from rabuzarus/20190217_-_fix_magicLinks_mentions
directory - own function for processing data of directory entries
2019-02-18 08:01:20 -05:00
rabuzarus
2b7c331afb forumdirectory: some polishing 2019-02-18 13:03:21 +01:00
rabuzarus
85f0508494 own function for processing data of directory entries 2019-02-18 03:00:10 +01:00
Hypolite Petovan
fa74adcf36 [frio] Reduce replies right padding 2019-02-17 15:00:24 -05:00
rabuzarus
9ebb2f42a1
Merge pull request #6660 from MrPetovan/task/6552-frio-improve-thread-display
[frio] Improve thread display
2019-02-17 13:33:49 +01: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
ad30e4824c [frio] Add margin between comment submit buttons and preview 2019-02-16 17:58:00 -05:00
Hypolite Petovan
82204b80e8 [frio] Remove .btn-primary from saved search button
- Remove useless comments
- Remove duplicated code
- Add screen reader support
2019-02-15 20:26:02 -05:00
Hypolite Petovan
25ba78d0d8 [frio] Prevent unwanted textaera resizing in comment forms 2019-02-15 09:15:39 -05:00
Hypolite Petovan
3e1e5fc986 [frio] Use text-align instead of flex display for submit buttons 2019-02-14 22:49:13 -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
Hypolite Petovan
642f9409a7 Switch tag of expanded like list to paragraph 2019-02-14 22:17:08 -05:00
Hypolite Petovan
c8a7c95279 Unescape $ispublic variable for jot display 2019-02-14 22:11:00 -05:00
rabuzarus
ecc393e1c3 frio - some small styling fixes for the manage page (badges, center name, paddings) 2019-02-14 03:06:57 +01:00
Michael Vogel
c7308d98fa
Merge pull request #6614 from MrPetovan/task/6552-add-explicit-mentions
Add explicit mentions to ActivityPub/Diaspora comments
2019-02-10 00:52:40 +01:00
Hypolite Petovan
7c58944449 Add "delivery done" label 2019-02-08 23:19:26 -05:00
Hypolite Petovan
6577b1abb0 Add alias field to mod/crepair
- Replace deprecated q() call by DBA::update
2019-02-08 22:38:23 -05:00
Hypolite Petovan
38ac615ba0
Merge pull request #6577 from rabuzarus/20190129_-_jot_atachment_preview
Attachement live preview
2019-02-07 08:43:49 -05:00
rabuzarus
80b60ae4ff Bugfix: remove useless </a> for categories from wall_thread template 2019-02-06 17:08:13 +01:00
Hypolite Petovan
cf9a65cded
Merge pull request #6589 from rabuzarus/20190204_-_show_forum_account_in_vcard
frio: add account type to the profile vcard
2019-02-04 19:02:43 -05:00
rabuzarus
56495e03c6 frio: add account type to the profile vcard 2019-02-05 00:18:07 +01:00
rabuzarus
ac22c0593d attachment preview: scroll the content not the mocal (adds scroll bars to the modal conent if it is to large) 2019-02-04 00:44:38 +01:00
Hypolite Petovan
8c9ef56a71 Normalize field_*.tpl formatting 2019-02-03 15:33:59 -05:00
Hypolite Petovan
ba7ffab3c2 Add nofilter to field_input attribute parameter 2019-02-03 15:32:52 -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
8d84f33f15
Merge pull request #6541 from annando/mentions
Display mentioned users and in the comment box by default
2019-01-29 07:56:30 -05:00
Hypolite Petovan
0c12d8af5f Rename conflicted variable $info in admin settings 2019-01-28 21:45:43 -05:00
Michael
d40b2792b6 Display mentioned users and in the comment box by default 2019-01-28 21:22:03 +00:00
Hypolite Petovan
c9a6063a2a
Merge pull request #6531 from Ixiter/develop-theme-frio
frio - fix PHP Notices reported in #6338
2019-01-27 08:01:08 -05:00
Peter Liebetrau
eee0e22856 frio - fix PHP Notices reported in #6338 2019-01-27 13:21:18 +01:00
Tobias Diekershoff
c11145d311
Merge pull request #6528 from MrPetovan/bug/html-bull-bullet
Switch to supported HTML entity for bullet in delivery indicator
2019-01-27 07:28:24 +01:00
Peter Liebetrau
cd19cce92e frio - fix bug in admin users with table sorting #6529 2019-01-27 04:06:51 +01:00
Hypolite Petovan
043521fb47 Switch to supported HTML entity for bullet in delivery indicator 2019-01-26 19:42:13 -05:00
Peter Liebetrau
189e179088 frio - fixed bug in user menu for visitors - see after-merge discussion in #6526 2019-01-26 23:02:23 +01:00
Peter Liebetrau
7918e41097 frio - fixed bug in user menu for remote user - see issue #6495 2019-01-26 20:15:56 +01:00
Jeroen De Meerleer
6fb2383116 Added nofilter to geotag
Fixes issue GH-6511
2019-01-24 17:23:25 +01:00
Michael Vogel
48e0b943a3
Merge pull request #6336 from MrPetovan/bug/6334-get-app-namespace
Move mod/register to Module\Register
2019-01-23 07:40:58 +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
0ccb6afdb5 Add Register module in src/
- Update REGISTER_* constants definition
- Update register template variable name
2019-01-22 22:22:04 -05:00
Hypolite Petovan
c90314cd6a Replace deprecated Addon::*registerHook by Hook::*register
- Updated documentation
2019-01-21 09:50:57 -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
fabrixxm
fdc6608af8 Add storage options form in admin/site page 2019-01-21 09:11:39 -05:00
Michael Vogel
ad7b85e0ec
Merge pull request #6475 from tobiasd/20190120-unescapealbums
HTML unescape existing albums
2019-01-20 18:58:46 +01:00
Tobias Diekershoff
6e258fc760 HTML unescape existing albums
When uploading a new photo the selection list for chosing existing albums was not shown. With this PR it is now again.xj

Part of #6208
2019-01-20 18:47:20 +01:00
Hypolite Petovan
765784aad3 [frio] Remove unused code in frio_init() 2019-01-19 21:54:10 -05:00
Hypolite Petovan
c4038e7af1
Merge pull request #6432 from annando/deleted-pending
Don't show deleted contacts, changed "pending" behaviour
2019-01-12 09:08:31 -05:00
Michael
28f14c7d60 Don't show deleted contacts, changed "pending" behaviour 2019-01-12 13:28:14 +00:00
Hypolite Petovan
abf20368b0 Rework Profile::getThemeUid to ignore query parameter and include $a->profile_uid
- Use new version in frio default.php file
- Use new version in Theme::getStylesheetPath
2019-01-12 02:23:01 -05: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
Michael Vogel
3f85ee3ef8
Merge pull request #6373 from MrPetovan/bug/6345-vier-fix-messages-notifs
[vier] Fix private messages notification display
2019-01-06 20:42:55 +01:00
Michael Vogel
320ce0eb43
Merge pull request #6393 from MrPetovan/bug/6268-frio-fix-justifyGallery-scales
[frio] Fix justifyGalley scales list
2019-01-06 20:39:54 +01:00
Hypolite Petovan
9b8f91f8fe [frio] Fix justifyGalley scales list 2019-01-06 05:33:40 -05:00
Hypolite Petovan
f2b784e654 Strip base url from links before determining anchor status for iOS linker 2019-01-04 20:36:36 -05:00
Hypolite Petovan
cc23ec19cd [frio] Fix user menu messages notification badge display 2019-01-03 23:18:27 -05:00
Hypolite Petovan
935b86749d Unescape invite_desc template variable 2019-01-03 21:29:30 -05:00
Hypolite Petovan
5e1ceb57de Escape global namespaced get_app() calls
- Add deprecated status
2019-01-03 21:27:36 -05:00
Hypolite Petovan
2f15f1c477 Unescape profiles template variables 2019-01-01 11:45:36 -05:00
Hypolite Petovan
0dc06d66a0 Unescape $invite_desc in follow/register templates 2019-01-01 02:50:37 -05:00
Tobias Diekershoff
e7ee3d7200
Merge pull request #6345 from MrPetovan/bug/6283-clear-message-notifications
Clear private message notifications
2018-12-31 08:21:55 +01:00
Hypolite Petovan
e0a763b07f Unescape admin warning text 2018-12-30 10:12:13 -05:00
Hypolite Petovan
d838e6d0ec Fix unread message conversation title display 2018-12-30 01:04:52 -05:00
Hypolite Petovan
838c0f96de Use minimal mode to change site theme settings
- Use textarea in colorbox instead of inline HTML
- Add mode propagation to site theme setting form
- Set theme for site theme settings form to load JS dependencies
2018-12-29 15:40:05 -05:00
Hypolite Petovan
fdcdbe287e [frio] Fix minimal layout 2018-12-29 15:40:04 -05:00
Hypolite Petovan
435cfd7de5 Fix screenshots URLs in frio readme 2018-12-29 15:39:50 -05:00
Michael Vogel
94eca77041
Merge pull request #6315 from MrPetovan/bug/6309-add-fulltext-index-profile
Rework mod/match and mod/msearch
2018-12-27 18:04:06 +01: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
a3928ec3b6 Restore escaping for textarea field template 2018-12-25 11:37:56 -05:00
Hypolite Petovan
e2a0cee8c2 [frio] Fix remaining user profile link icon 2018-12-25 11:37:56 -05:00
Hypolite Petovan
787428f68c Remove template escaping for event title 2018-12-24 23:00:35 -05:00
Hypolite Petovan
acaee626f5 Remove include/ requires that are now done directly from Composer 2018-12-24 09:56:25 -05:00
Hypolite Petovan
b1e85ba605 Fix template escaping in photo gallery view 2018-12-23 10:51:18 -05:00
Michael
f19f67add5 Issue 6308 - and again ... 2018-12-22 20:25:23 +00:00
Hypolite Petovan
92214b8867
Merge pull request #6302 from annando/issue-6300
Isse 6300: And again templates ...
2018-12-21 19:04:45 -05:00
Hypolite Petovan
6d4412ffea
Merge pull request #6298 from annando/issue-6297
Issue 6297 - and again template stuff
2018-12-21 19:01:17 -05:00
Michael
3f4cead189 Isse 6300: And again templates ... 2018-12-21 23:02:43 +00:00
Michael
4a633527d2 And some more templates 2018-12-21 21:50:18 +00:00
Michael
768ad3cfd9 Issue 6297 - and again template stuff 2018-12-21 21:44:54 +00:00
Michael Vogel
1cab44827f
Merge pull request #6280 from MrPetovan/bug/4738-fix-message-list-query
Fix message list query
2018-12-21 22:17:20 +01:00
Michael
7c845dafc5 Issue 6294: Fix templates 2018-12-21 21:09:34 +00:00
Michael
fd7c47ed55 Fixes issue 6289 2018-12-21 13:43:06 +00:00
Michael
f31ca8a818 Some more stuff to unescape 2018-12-21 05:26:29 +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
Hypolite Petovan
c8b6778cde Fix home escaping 2018-12-21 00:05:55 -05:00
Hypolite Petovan
1c58363696 Remove unused/empty template variables in register 2018-12-20 23:59:15 -05:00
Michael
c7a636fe18 Fixing templates - unescaping it again 2018-12-20 21:57:53 +00:00
Hypolite Petovan
c7abb1d82b Remove unused template variable $tabcontent in mail_head.tpl 2018-12-19 06:39:36 -05:00
Hypolite Petovan
a01bdbbe2d Fix wrong merge + nofilter in contact_edit 2018-12-18 08:39:26 -05:00
Hypolite Petovan
21a055f670
Merge branch '2018.12-rc' into task/6208-escape-html-true 2018-12-18 08:36:36 -05:00
Hypolite Petovan
091193ad64
Merge pull request #6278 from annando/fix-contact-edit
Fix: Contacts can now be edited again
2018-12-18 08:02:49 -05:00
Michael
99e69e30a3 Fix: Contacts can now be edited again 2018-12-18 06:52:09 +00:00
Jonny Tischbein
dc7e6edca9 Add page-wrapper to oauth/edit in frio 2018-12-17 23:09:08 +01:00
Jonny Tischbein
443210b4f0 move templates to frio theme 2018-12-17 23:09:08 +01: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
d0fa7f74c5 Unescape value of generic input field 2018-12-16 22:38:32 -05:00
Hypolite Petovan
698d12af79 Unescape variables in events and descriptions 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
Michael
b53a6c5154 The "about" field shouldn't be escaped 2018-12-11 19:24:24 +00:00
Michael
6682114069 Fix: The event name mustn't be escaped, since it can contain converted BBCode 2018-12-02 22:35:39 +00: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
Hypolite Petovan
5a929c587f
Merge pull request #6204 from annando/escaping
We are now escaping many template fields
2018-11-26 16:31:13 -05:00
Tobias Diekershoff
ce099b6cd3 Add missing closing tags
The summery template for the admin panel was missing a closing link tag
for the deferred worker queue. This tag has been added for the general
template and the template used by the frio theme.
2018-11-26 11:58:58 +01:00
Michael
069c92049a Just some misspelling 2018-11-25 23:49:40 +00: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
5e577ed133 Change html b to strong 2018-11-25 09:03:01 +01:00
Jonny Tischbein
3af59eaba4 Move all warning text in L10n + frio: make warning closable 2018-11-25 08:32:05 +01:00
Jonny Tischbein
66a18702c0 Frio: Move relocation warning from headline to bootstrap danger box 2018-11-24 22:50:42 +01:00
Jonny Tischbein
36aca259d5 Change saving active panel from js localStorage to via html #anker 2018-11-24 00:44:11 +01:00
Jonny Tischbein
62f09fdd57 Only store last opened panel for one reload (the POST reload after a submit) 2018-11-21 19:23:06 +01:00
Jonny Tischbein
278d42dbc9 Save last collapsed panel + restore to open and scroll to top of panel 2018-11-21 19:15:59 +01:00
Jonny Tischbein
860b7bad73 Frio: Add collapsable panel-groups for admin/site 2018-11-21 17:27:10 +01:00
Hypolite Petovan
f5d58d07e1
Merge pull request #6154 from JonnyTischbein/issue_open_commentbox_post_with_replies
[frio] Fix opening comment box when Post has replies
2018-11-17 10:01:05 -05:00
Jonny Tischbein
dd7d556c86 Fix opening comment box when Post has replies 2018-11-17 15:53:34 +01:00
Alexandre Alapetite
4d092872a5 Escaping moved to template
https://github.com/friendica/friendica/pull/6147#pullrequestreview-176051481
2018-11-17 14:01:07 +01:00
Adam Magness
218f0734be Rename removeTags to escapeTags
rename function and update calls.
2018-11-09 13:29:42 -05:00
Adam Magness
0efcbe5d15 protect_sprintf calls
implement protectSprintf function
2018-11-08 10:30:45 -05:00
Adam Magness
a0f65ca7a1 notags calls
implement removeTags function
2018-11-08 10:14:37 -05: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
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
rabuzarus
d02f940811 Frio - some cleanups for default.php 2018-10-31 10:22:32 +01:00
rabuzarus
bfe59b4054 Frio - on mobiles the links in thread will always have the link color (disabling thread hover effect) 2018-10-31 10:14:02 +01:00
rabuzarus
ec9f22de92 Frio - add desktop or mobile view class to the html body 2018-10-31 10:07:51 +01:00
Adam Magness
14fde5dc9b Log function
implement log() function.
2018-10-30 09:57:14 -04: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
Hypolite Petovan
7ee8bdafc5
Merge pull request #5966 from JeroenED/theme/frio/oembed/view-active-class
fixed view of active embedded videos
2018-10-26 19:25:30 -04:00
Jonny Tischbein
e022bac339 Code Standard + renaming deleteAllTags + move its call and add type param 2018-10-25 21:47:10 +02:00
Jonny Tischbein
272eb5eb82 fix doxygen header + indent 2018-10-25 21:47:10 +02:00
Jonny Tischbein
fd2e06781d Fix adding / removing photo tags + tagrm delete via GET + Item::update / add Term::deleteAllTags 2018-10-25 21:47:10 +02:00
Michael Vogel
dbfe5c9d2a
Merge pull request #6017 from MrPetovan/task/move-pager-out-of-app
Road to Router Part 5: Move pager out of App
2018-10-25 21:21:23 +02:00
Ralf Thees
4ddf59e016 indents now with tabs 2018-10-25 09:33:01 +02:00
Hypolite Petovan
14237a9599 Move $pager and $page_offset out of App
- Move infinite scroll data output in a module hook
- Use Pager instead of paginate() and alt_pager()
2018-10-25 00:07:15 -04:00
Ralf Thees
dfbaa6e198 Merge branch 'develop' of https://github.com/friendica/friendica into develop 2018-10-24 21:14:45 +02:00
Hypolite Petovan
9c9ebfc7c9
Merge pull request #6013 from JonnyTischbein/issue_comment_media_link_prompt
[frio] Add media / link prompt in comments
2018-10-24 12:17:58 -04:00
Jonny Tischbein
6cd17f2229 Code Standard: indent + renaming function in camelcase 2018-10-24 18:09:54 +02:00
Ralf Thees
722fd653ae Merge branch 'develop' of https://github.com/friendica/friendica into develop 2018-10-24 16:38:29 +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
Michael
95dc030926 Show deferred worker tasks in the admin interface and workerqueue logs 2018-10-23 20:38:28 +00: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
Ralf Thees
ff203c277d Merge branch 'develop' of https://github.com/friendica/friendica into develop 2018-10-22 23:20:00 +02:00
Hypolite Petovan
ac19a9cddc
Merge pull request #5959 from vinzv/patch-2
Fix broken credits box
2018-10-21 17:03:55 -04:00
Vinzenz Vietzke
934639654c reverted css changes, adapted credits.tpl from default theme for frio 2018-10-21 22:50:41 +02:00
Ralf Thees
2f7f9ffdd8 Merge branch 'develop' of https://github.com/friendica/friendica into develop 2018-10-20 04:40:48 +02:00
Hypolite Petovan
afeb6df225
[frio] Enable click through image caption in file browser 2018-10-19 10:46:09 -04:00
Jeroen De Meerleer
bad7d1a9dc updated to match coding styles 2018-10-19 09:45:00 +02:00
Jeroen De Meerleer
65f2fc39e2 fixed view of active embedded videos 2018-10-19 09:37:15 +02:00
vinzv
2b663ed2b6
Fix broken credits box
Otherwise the content is exceeding the box, both on desktop and mobile.
2018-10-18 22:49:03 +02:00
Ralf Thees
5201e9009d Inserted missing hidden input with form_security_token 2018-10-17 22:53:24 +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
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
Jonny Tischbein
5fd4402074 code standards + fixing navigation links to /contact/... 2018-10-14 20:03:22 +02:00
Jonny Tischbein
bfa05156ca change links from /contacts to /contact 2018-10-13 13:29:56 +02:00
Jonny Tischbein
738cb4ace6 finish refactoring to Module\Contact 2018-10-13 11:35:51 +02:00
Jonny Tischbein
cdbddd0103 Renaming functions and class 2018-10-13 11:23:52 +02:00
Jonny Tischbein
80ea86113d Move mod Contacts to /src/Module 2018-10-11 23:14:12 +02:00
Philipp Holzer
307286fc47
parameters and getURLpath to getURLPath 2018-10-10 01:18:47 +02: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
Jonny Tischbein
05d27e48aa word-wrap for comments in frio style.css 2018-10-09 16:47:28 +02:00
Hypolite Petovan
58c6ef2bc0
Merge pull request #5841 from JonnyTischbein/issue_profile_edit_sexual_marital
Fix (short) profile editing showing 'e' for martial and sexual preferences
2018-10-06 07:13:04 -04:00
Jonny Tischbein
17019772a4 Fix (short) profile editing showing 'e' for martial and sexual preference 2018-10-06 11:37:15 +02:00
Jonny Tischbein
5a5a281ed2 css for submit button 2018-10-05 00:11:13 +02:00
Jonny Tischbein
2802f031d4 Submit button for rss poll 2018-10-05 00:08:16 +02:00
Michael Vogel
103535d620
Merge pull request #5773 from MrPetovan/task/rewrite-js-hooks
Rewrite JS hooks
2018-10-01 17:10:30 +00:00
Jonny Tischbein
1803862fc5 associative array + adding mysql value + removing table header 2018-09-27 19:46:28 +02:00
Jonny Tischbein
16d37acca1 fix indent 2018-09-27 19:00:24 +02:00
Jonny Tischbein
24117c24ce Get PHP Configuration for upload limit and display in /admin summary site 2018-09-27 18:53:16 +02:00
Hypolite Petovan
8b55bc5881 Normalize padding of inline code
- [frio] Remove redundant CSS
2018-09-24 08:32:17 -04:00
Hypolite Petovan
be348cf8c8 Remove addon_hooks template variable
- Update addon documentation
2018-09-24 08:16:26 -04: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
Jonny Tischbein
b7e7850b75 disable formatbar in xs screens 2018-09-21 17:46:39 +02:00
Benjamin Lorteau
f0cdd25e34 Register Friendica stylesheet using App->registerStylesheet()
- Remove mentions of {{$stylesheet}} in head.tpl templates
2018-09-21 09:54:09 -04:00
Jonny Tischbein
08879298ea unique html id for share button in preview 2018-09-21 11:12:20 +02:00
Hypolite Petovan
2ae6556b32 Add new 'head' hook
- Add new App->registerStylesheet method
- Reworked App->init_pagehead into App->initHead
2018-09-20 21:30:51 -04:00
Hypolite Petovan
73c1ebc6fd [frio] Move relevant code to new footer.tpl 2018-09-20 21:02:55 -04:00
Jonny Tischbein
fedaf08bd1 remove old TODO 2018-09-20 17:26:19 +02:00
Jonny Tischbein
763ed35bc3 correct textarea id in insertFormattingToPost 2018-09-20 17:23:29 +02:00
Jonny Tischbein
9bc6238b59 Make formatbar work 2018-09-20 17:20:57 +02:00
Jonny Tischbein
f590d31b4b Add format bar in new post jot 2018-09-20 17:14:32 +02:00
Jonny Tischbein
5edb124660 make share button visivle via theme js. Avoid illegal multiple use of html id 2018-09-20 17:09:39 +02:00
Jonny Tischbein
4c56724715 make share button visible in preview 2018-09-20 16:50:58 +02:00
Jonny Tischbein
b1720c07ec Add Share button for preview new post 2018-09-20 16:20:33 +02:00
Hypolite Petovan
18c8a7f247 Fix inline code span display 2018-09-19 23:10:41 -04:00
Hypolite Petovan
7dd6fb3b3c Rewrite JS hooks
- Use event listeners instead of homebrew hooks
- Remove view/js/addon-hooks.js and its references
- Update Addon docs
2018-09-19 22:51:51 -04:00
Hypolite Petovan
8fbcbbda16 Remove references to Pear Text_Highlighter stylesheets 2018-09-19 21:36:21 -04:00
Michael
63b5cb4fc6 Issue 5721: Temporarily deactivate the picture upload from private mails 2018-09-13 15:46:37 +00:00
Hypolite Petovan
11a3b45957 [frio] Fix ACL selection in new event modal
- Fix this.allow_cid.push isn't a function error
2018-09-09 10:10:17 -04:00
rabuzarus
26607d4a27 Frio - bugfix - don't show new event button if the button isn't available 2018-09-06 14:40:34 +02:00
Hypolite Petovan
8a1581cadd
Merge pull request #5727 from rabuzarus/20180905_-_rise_frio_version
Frio - rise frio version
2018-09-05 12:52:42 -04:00
rabuzarus
f9fe162f2f Frio - rise version 2018-09-05 18:31:09 +02:00
rabuzarus
7c5e964581 Frio - fix missing modal for editing albums 2018-09-05 18:24:04 +02:00
rabuzarus
85fed927c3 Frio - addToModal() can now be used with an element ID as a parameter 2018-09-05 17:30:07 +02:00
Hypolite Petovan
0d8e5eace5 [frio] Mobile: force input font size to 16px 2018-08-25 19:30:18 -04:00
Hypolite Petovan
3bfd0ceed6 [frio] Fix HTML warnings
- Add missing space between attributes
- Add missing closing tag to logo SVG mask
2018-08-25 19:30:18 -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
29b73877a9 Fix the settings in frio (#5650) 2018-08-22 00:14:16 -04:00
Michael
334c628511 And again ... notices 2018-08-20 21:20:21 +00:00
rabuzarus
dd2d680258 Frio: new photos upload template (#5637)
* frio - add missing page template to various photo pages (fix missing background)

* frio - rework photo upload album selection

* frio - rework photo upload button

* frio - fix photo upload button and acl
2018-08-20 00:29:50 -04:00
rabuzarus
47c2565917
Merge pull request #5634 from astifter/photo_view_page_icons
[frio] Add icons on photo view page.
2018-08-19 23:04:28 +02:00
Andreas Neustifter
66d8a67884 Add icons on photo view page.
This page still had textual links, change them to icons. Also remove missleading header.
2018-08-19 21:53:32 +02:00
Andreas Neustifter
fc3aa9e58b [frio] Vertically align toolbar items. (#5633) 2018-08-19 02:19:36 +00:00
rabuzarus
e1d2ee3400 frio - add missing page template to various photo pages (fix missing background) (#5613) 2018-08-14 23:58:51 +00:00
Michael Vogel
1283b99c6f Removed notices in the frio theme (#5610)
* Removed notices in the frio theme

* And fixed notices in the notifications

* And some more in frio

* Null is the default value

* And some small notice in the probing removed

* Added note

* Clarified note

* And a removed notice in OStatus
2018-08-14 19:37:44 +00:00
Michael Vogel
880b7177c8 And again, and again, and again, ... some more notices removed (#5601)
* And again, and again, and again, ... some more notices removed

* And some more notices ...

* Some more place
2018-08-11 23:05:42 +02:00
rabuzarus
7cecc5a24c frio - improve some hover effects to action link/buttons 2018-08-11 13:41:55 +02: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
Tobias Diekershoff
8b804fa1a2 frio: common_tabs.tpl has now accesskeys as well 2018-08-07 12:55:37 +02:00
Tobias Diekershoff
083fcd3c9a frio implemented accesskeys to the nav.tpl 2018-08-07 10:28:41 +02:00
Michael Vogel
8ab661aaed
Merge pull request #5553 from MrPetovan/task/improve-frio-mobile-display
[frio] Increase content space on <600px width devices
2018-08-04 23:11:27 +02:00
Michael Vogel
793a4bf803
Merge pull request #5554 from MrPetovan/bug/5544-fix-private-message-js-interactions
[frio/vier] Fix JS errors in compose private message page
2018-08-04 23:09:56 +02:00
Hypolite Petovan
e76ddd7745 [frio] Fix shared posts avatars size/position between desktop/mobile 2018-08-04 21:54:02 +02:00
hoergen
b7b6194297 removing vertical spaces under the notification button (#5555)
[frio] Removing vertical spaces under the notification button
2018-08-04 21:45:30 +02:00
Hypolite Petovan
ea09a51dff [frio] Fix JS error in compose private message page 2018-08-04 21:14:29 +02:00
Hypolite Petovan
6cf5fd56e5 [frio] Increase content space on <600px width devices 2018-08-04 20:54:58 +02:00
Michael Vogel
810c108297 Fix: Notes can be posted again. Never use "defaults" with "false" (#5551) 2018-08-04 16:06:36 +02:00
Michael Vogel
c72c64a6d8 Notices again (#5543)
* And again notices

* Notices in the directory

* Much more places

* Fix some double $

* Notice in ping

* Missing field

* Fix: We now remove deleted users from the directory

* Some more stuff

* Notices when removing users

* Added logging

* More logging

* Two more
2018-08-02 07:21:01 +02:00
Andreas Neustifter
7e761fa514 [frio] Fix wrongly removed content wrapper and fix CSS instead. (#5496) (#5505) 2018-07-26 11:42:26 -04:00
Andreas Neustifter
830b2edc35 [frio] Remove frame around recent photos. (#5496) (#5499)
Also layout file properly.
2018-07-25 16:21:43 -04:00
Andreas Neustifter
e8effeb3ae [frio] Fix layout of profile aside. (#5497) (#5498)
See issue (#5497)[https://github.com/friendica/friendica/issues/5497] for details.
2018-07-25 16:12:30 -04:00
Andreas Neustifter
b6c254eede [frio] Fix profile edit links. [#5474] (#5475) 2018-07-24 10:20:16 -04:00
Jeroen De Meerleer
a44eeda463 Added bootstrap tables to queues (#5484)
* Added bootstrap tables to queues

* Changed to double quotes
2018-07-24 08:10:20 -04:00
Hypolite Petovan
a6fb3568f9 Rename dbesc to DBA::escape 2018-07-23 15:30:54 -04:00