Commit Graph

420 Commits

Author SHA1 Message Date
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 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 b529c03a20 Sanitize theme path items
- Sanitize theme style/color/scheme path items
2019-03-31 21:52:48 -04: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 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
Tobias Diekershoff df688aba0c forgotten quattro file 2019-02-12 17:27:46 +01:00
Tobias Diekershoff 0ada36ecd6 JS files of quattro 2019-02-12 17:26:13 +01:00
Tobias Diekershoff 183560dd62 JS files of quattro theme 2019-02-12 17:25:16 +01: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
Tobias Diekershoff 8b8187ee9c added nofilter to banner in smoothy and quaddro 2019-01-25 19:37:37 +01:00
Hypolite Petovan 1bdb3c916a Make style.php require query parameter puid for specific stylesheets 2019-01-12 02:21:12 -05:00
Michael 7e19506435 Issue 6394: The contact location has to be BBEncoded 2019-01-06 21:04:10 +00:00
Hypolite Petovan ff50f2bb65 Unescape $prevlink and $nextlink template variables 2019-01-02 19:06:23 -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 80ea1ea51f This template change had been missing 2018-12-21 13:48:48 +00: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 e1b3bcc77d Unescape yet more values with a focus on the vier theme 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
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
Jonny Tischbein b73be5749b Add support for quattro 2018-10-31 20:17:11 +01: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
Hypolite Petovan c17a2b8a4e Add missing change to quattro main less file 2018-09-23 12:52:50 -04:00
Hypolite Petovan 18c8a7f247 Fix inline code span display 2018-09-19 23:10:41 -04: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 5af9596dde New item field "Post-type" and new table "permissionset" (#5408)
* "post-type" replaces "bookmark" and "type"

* Removed some more type

* Added index to permission set

* The permission set is now stored

* The permission set is now removed upon expiry

* Post update now stores the permission set

* New file

* Permissions are now sorted

* Changed documentation
2018-07-19 09:52:05 -04:00
Hypolite Petovan 6cf50a14fa
Merge pull request #16 from MrPetovan/imgbot
[ImgBot] optimizes images
2018-07-14 02:22:52 -04:00
ImgBotApp c50cc25902
[ImgBot] optimizes images
*Total -- 7,020.51kb -> 6,174.86kb (12.05%)

/images/icons/10/edit.png -- 2.94kb -> 0.37kb (87.38%)
/images/icons/10/add.png -- 2.88kb -> 0.37kb (87.2%)
/images/icons/10/delete.png -- 2.95kb -> 0.38kb (87.14%)
/images/icons/10/gear.png -- 2.97kb -> 0.40kb (86.49%)
/images/icons/16/edit.png -- 3.06kb -> 0.49kb (83.99%)
/images/icons/10/menu.png -- 2.95kb -> 0.47kb (83.99%)
/images/icons/16/add.png -- 3.00kb -> 0.48kb (83.83%)
/images/icons/16/delete.png -- 3.07kb -> 0.50kb (83.67%)
/images/search_18.png -- 3.22kb -> 0.57kb (82.25%)
/images/icons/16/gear.png -- 3.12kb -> 0.56kb (82.18%)
/images/icons/22/edit.png -- 3.17kb -> 0.61kb (80.72%)
/images/icons/22/add.png -- 3.13kb -> 0.62kb (80.16%)
/images/icons/22/delete.png -- 3.22kb -> 0.65kb (79.81%)
/view/theme/frio/frameworks/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha.png -- 3.19kb -> 0.66kb (79.49%)
/view/theme/frio/frameworks/bootstrap-colorpicker/img/bootstrap-colorpicker/alpha-horizontal.png -- 3.55kb -> 0.76kb (78.6%)
/images/icons/10/star.png -- 3.15kb -> 0.68kb (78.38%)
/images/icons/22/gear.png -- 3.30kb -> 0.74kb (77.72%)
/images/icons/16/menu.png -- 3.19kb -> 0.72kb (77.51%)
/view/theme/frio/frameworks/bootstrap-colorpicker/img/bootstrap-colorpicker/hue-horizontal.png -- 2.77kb -> 0.68kb (75.61%)
/view/theme/frio/frameworks/bootstrap-colorpicker/img/bootstrap-colorpicker/hue.png -- 2.90kb -> 0.71kb (75.5%)
/images/icons/22/menu.png -- 3.28kb -> 0.80kb (75.45%)
/images/icons/16/star.png -- 3.42kb -> 0.95kb (72.33%)
/images/blank.png -- 1.33kb -> 0.39kb (70.42%)
/images/icons/48/add.png -- 3.85kb -> 1.14kb (70.36%)
/images/icons/22/star.png -- 3.69kb -> 1.22kb (66.93%)
/view/theme/frio/img/select_arrow.png -- 0.95kb -> 0.31kb (66.87%)
/images/icons/48/edit.png -- 3.86kb -> 1.30kb (66.39%)
/images/icons/48/delete.png -- 3.90kb -> 1.32kb (66.3%)
/images/diaspora-logo.png -- 8.52kb -> 2.88kb (66.18%)
/view/theme/duepuntozero/deriv/imggreenzero/head.jpg -- 1.05kb -> 0.36kb (65.96%)
/view/theme/frio/img/mime/file.png -- 1.06kb -> 0.37kb (64.94%)
/view/theme/duepuntozero/deriv/imgeasterbunny/head.jpg -- 1.08kb -> 0.38kb (64.65%)
/view/theme/duepuntozero/deriv/imgpurplezero/head.jpg -- 1.08kb -> 0.38kb (64.65%)
/view/theme/frio/img/mime/word.png -- 1.05kb -> 0.37kb (64.62%)
/view/theme/frio/img/mime/excel.png -- 1.05kb -> 0.37kb (64.6%)
/view/theme/frio/img/mime/zip.png -- 1.09kb -> 0.39kb (64.33%)
/images/facebook.png -- 4.28kb -> 1.57kb (63.28%)
/images/icons/48/gear.png -- 4.13kb -> 1.53kb (62.89%)
/view/theme/frio/img/mime/powerpoint.png -- 1.11kb -> 0.43kb (61.2%)
/view/theme/frio/img/mime/video.png -- 1.13kb -> 0.46kb (59.39%)
/view/theme/frio/img/icon_search16x16.png -- 1.21kb -> 0.50kb (58.89%)
/images/icons/play.png -- 6.14kb -> 2.53kb (58.84%)
/view/theme/frio/img/mime/audio.png -- 1.10kb -> 0.46kb (58.36%)
/images/icons/text.png -- 6.03kb -> 2.52kb (58.25%)
/images/icons/video.png -- 6.01kb -> 2.52kb (58.1%)
/view/theme/frio/img/mime/image.png -- 1.18kb -> 0.52kb (55.47%)
/images/icons/48/menu.png -- 4.50kb -> 2.02kb (55.02%)
/images/icons/edit.png -- 8.10kb -> 3.71kb (54.19%)
/images/icons/lock.png -- 8.01kb -> 3.75kb (53.22%)
/images/icons/delete.png -- 7.72kb -> 3.62kb (53.06%)
/images/icons/48/star.png -- 4.66kb -> 2.20kb (52.91%)
/images/icons/add.png -- 8.48kb -> 4.02kb (52.6%)
/images/mail.png -- 10.30kb -> 4.95kb (51.93%)
/images/icons/unlock.png -- 8.20kb -> 3.95kb (51.79%)
/images/icons/audio.png -- 7.79kb -> 3.77kb (51.56%)
/images/icons/plugin.png -- 9.23kb -> 4.48kb (51.46%)
/images/icons/zip.png -- 9.60kb -> 4.71kb (50.96%)
/doc/img/editor_frost.png -- 3.70kb -> 1.84kb (50.37%)
/view/theme/frio/img/mime/pdf.png -- 1.23kb -> 0.62kb (49.72%)
/images/icons/gear.png -- 10.49kb -> 5.31kb (49.38%)
/view/theme/frio/img/mime/indesign.png -- 1.30kb -> 0.67kb (48.76%)
/doc/img/frost.png -- 1.96kb -> 1.01kb (48.68%)
/view/theme/frio/img/mime/illustrator.png -- 1.17kb -> 0.61kb (47.96%)
/view/theme/frio/img/mime/photoshop.png -- 1.21kb -> 0.64kb (47.29%)
/images/icons/image.png -- 13.66kb -> 7.22kb (47.17%)
/doc/img/diabook.png -- 3.22kb -> 1.74kb (46.03%)
/images/appnet.png -- 9.21kb -> 5.03kb (45.42%)
/images/blogger.png -- 9.07kb -> 4.99kb (44.95%)
/view/theme/frio/img/placeholder-postform-arrow.png -- 1.82kb -> 1.06kb (41.81%)
/doc/img/posts_define.png -- 3.04kb -> 1.78kb (41.44%)
/view/theme/frio/frameworks/bootstrap-colorpicker/img/bootstrap-colorpicker/saturation.png -- 8.61kb -> 5.10kb (40.72%)
/images/tumblr.png -- 5.92kb -> 3.54kb (40.23%)
/images/wordpress.png -- 20.29kb -> 12.24kb (39.66%)
/images/icons/link.png -- 7.28kb -> 4.43kb (39.21%)
/images/dreamwidth.png -- 7.36kb -> 4.48kb (39.08%)
/images/libertree.png -- 8.61kb -> 5.33kb (38.12%)
/images/googleplus.png -- 8.74kb -> 5.70kb (34.82%)
/doc/img/camera.png -- 0.87kb -> 0.58kb (33.41%)
/doc/img/paper_clip.png -- 0.65kb -> 0.44kb (33.13%)
/doc/img/friendica_rich_editor.png -- 9.65kb -> 6.50kb (32.68%)
/images/icons/menu.png -- 14.44kb -> 9.79kb (32.21%)
/images/gnusocial.png -- 17.53kb -> 12.05kb (31.26%)
/doc/img/friendica_editor.png -- 7.85kb -> 5.47kb (30.32%)
/view/theme/smoothly/images/photo-menu.jpg -- 2.74kb -> 1.92kb (29.99%)
/images/twitter.png -- 13.04kb -> 9.41kb (27.83%)
/images/icons/star.png -- 9.09kb -> 6.66kb (26.73%)
/view/theme/vier/screenshot.png -- 190.75kb -> 141.23kb (25.96%)
/doc/img/post_mark.png -- 0.72kb -> 0.55kb (24.22%)
/view/theme/vier/icons.png -- 19.84kb -> 15.16kb (23.58%)
/view/theme/duepuntozero/bbedit.png -- 2.09kb -> 1.61kb (23.36%)
/view/theme/quattro/icons/bbedit.png -- 2.09kb -> 1.61kb (23.36%)
/view/theme/quattro/showmore-bg.jpg -- 1.92kb -> 1.48kb (22.62%)
/images/screenshots/friendica-frio-red-profle-1.png -- 74.57kb -> 57.72kb (22.59%)
/images/person-48.jpg -- 2.12kb -> 1.66kb (21.69%)
/doc/img/post_tag.png -- 0.60kb -> 0.47kb (21.24%)
/view/theme/frio/img/screenshots/screenshot-mobile.png -- 45.25kb -> 35.72kb (21.06%)
/view/theme/smoothly/images/icons.png -- 19.29kb -> 15.25kb (20.96%)
/images/icons/notify_on.png -- 3.58kb -> 2.84kb (20.68%)
/spec/dfrn-snap2.jpg -- 240.94kb -> 192.52kb (20.1%)
/doc/img/video.png -- 0.61kb -> 0.49kb (20.03%)
/images/icons/info.png -- 4.19kb -> 3.38kb (19.24%)
/view/theme/duepuntozero/deriv/imgdarkzero/head.jpg -- 1.24kb -> 1.02kb (17.42%)
/images/screenshots/friendica-frio-red-profle-2.png -- 153.60kb -> 128.16kb (16.56%)
/doc/img/post_link.png -- 0.56kb -> 0.47kb (15.56%)
/images/icons.png -- 13.48kb -> 11.42kb (15.32%)
/view/theme/smoothly/images/power.png -- 3.05kb -> 2.59kb (15.28%)
/view/theme/duepuntozero/deriv/imggreenzero/greenicons.png -- 12.03kb -> 10.22kb (15%)
/images/person-80.jpg -- 3.03kb -> 2.61kb (13.99%)
/view/theme/frio/img/screenshots/screenshot-jot-modal.png -- 108.30kb -> 93.19kb (13.96%)
/images/icons/notice.png -- 3.61kb -> 3.11kb (13.92%)
/doc/img/editor_vier.png -- 2.63kb -> 2.27kb (13.8%)
/images/screenshots/friendica-frio-green-profle-1.png -- 158.43kb -> 136.58kb (13.79%)
/images/screenshots/friendica-frio-brown-profile-2.png -- 891.01kb -> 768.46kb (13.75%)
/doc/img/acl_win.png -- 53.89kb -> 46.57kb (13.58%)
/view/theme/smoothly/images/next.png -- 0.87kb -> 0.75kb (13.58%)
/doc/img/dispy.png -- 3.61kb -> 3.13kb (13.32%)
/images/icons/notify_off.png -- 4.24kb -> 3.68kb (13.25%)
/doc/img/darkbubble.png -- 2.43kb -> 2.11kb (13.03%)
/images/screenshots/friendica-frio-red-profle-3.png -- 570.89kb -> 497.47kb (12.86%)
/images/screenshots/friendica-frio-brown-profile-1.png -- 526.17kb -> 461.66kb (12.26%)
/view/theme/frio/screenshot.png -- 133.28kb -> 117.52kb (11.83%)
/view/theme/frio/img/screenshots/screenshot.png -- 133.28kb -> 117.52kb (11.83%)
/images/icons/feed.png -- 8.80kb -> 7.78kb (11.58%)
/images/screenshots/friendica-frio-green-profle-2.png -- 460.00kb -> 408.47kb (11.2%)
/images/icons/user.png -- 6.76kb -> 6.04kb (10.69%)
/view/theme/smoothly/images/prev.png -- 0.83kb -> 0.75kb (9.5%)
/images/icons/48/feed.png -- 2.63kb -> 2.39kb (9.03%)
/images/icons/48/user.png -- 2.22kb -> 2.03kb (8.55%)
/view/theme/duepuntozero/editicons.png -- 6.15kb -> 5.67kb (7.81%)
/images/content-types.png -- 3.80kb -> 3.52kb (7.43%)
/doc/img/post_categorize.png -- 0.48kb -> 0.44kb (7.38%)
/images/icons/16/play.png -- 0.50kb -> 0.46kb (7.09%)
/doc/img/editor_zero.png -- 2.60kb -> 2.42kb (7.05%)
/images/default-profile-mm.jpg -- 0.31kb -> 0.29kb (6.52%)
/images/screenshots/friendica-frio-mobile-profle-2.png -- 50.47kb -> 47.29kb (6.3%)
/doc/img/post_thumbs_down.png -- 0.51kb -> 0.48kb (6.14%)
/view/theme/duepuntozero/deriv/imggreenzero/border.jpg -- 0.33kb -> 0.31kb (6.14%)
/view/theme/duepuntozero/border.jpg -- 0.33kb -> 0.31kb (6.14%)
/images/default-profile-sm.jpg -- 0.34kb -> 0.32kb (6.07%)
/view/theme/duepuntozero/deriv/imgdarkzero/sectionend.jpg -- 0.35kb -> 0.33kb (5.92%)
/view/theme/duepuntozero/deriv/imgeasterbunny/border.jpg -- 0.36kb -> 0.33kb (5.77%)
/view/theme/duepuntozero/deriv/imgpurplezero/border.jpg -- 0.36kb -> 0.33kb (5.77%)
/view/theme/duepuntozero/head.jpg -- 0.37kb -> 0.35kb (5.48%)
/view/theme/smoothly/images/menu-user-pin.jpg -- 0.38kb -> 0.36kb (5.45%)
/images/plugin.png -- 2.00kb -> 1.89kb (5.43%)
/images/show_all_off.png -- 0.53kb -> 0.50kb (5.38%)
/images/person-175.jpg -- 5.76kb -> 5.45kb (5.36%)
/doc/img/post_share.png -- 0.43kb -> 0.41kb (4.95%)
/spec/dfrn2_contact_request.png -- 317.37kb -> 301.69kb (4.94%)
/doc/img/post_thumbs_up.png -- 0.50kb -> 0.47kb (4.72%)
/view/theme/duepuntozero/photo-menu.jpg -- 0.45kb -> 0.43kb (4.58%)
/images/default-profile.jpg -- 0.48kb -> 0.46kb (4.29%)
/view/theme/duepuntozero/screenshot.jpg -- 70.86kb -> 67.88kb (4.2%)
/images/onoff.jpg -- 0.49kb -> 0.47kb (4.18%)
/spec/dfrn2_contact_confirmation.png -- 245.40kb -> 235.22kb (4.15%)
/view/theme/smoothly/screenshot.png -- 131.94kb -> 126.54kb (4.09%)
/view/theme/duepuntozero/deriv/imgdarkzero/border.jpg -- 0.51kb -> 0.49kb (4.03%)
/doc/img/darkzero.png -- 2.80kb -> 2.69kb (4.01%)
/view/theme/quattro/screenshot.jpg -- 67.98kb -> 65.57kb (3.54%)
/images/icons/10/play.png -- 0.41kb -> 0.40kb (3.33%)
/doc/img/editor_darkbubble.png -- 2.49kb -> 2.40kb (3.3%)
/view/theme/quattro/icons/contacts3.png -- 0.55kb -> 0.53kb (3.04%)
/images/friendica-256.jpg -- 16.73kb -> 16.25kb (2.87%)
/view/theme/quattro/icons/men.png -- 0.38kb -> 0.37kb (2.79%)
/images/icons/22/image.png -- 0.89kb -> 0.87kb (2.73%)
/view/theme/frio/img/friendica-32.png -- 0.62kb -> 0.61kb (2.5%)
/images/icons/48/text.png -- 0.95kb -> 0.93kb (2.47%)
/images/screenshots/friendica-frio-mobile-profle-1.png -- 47.24kb -> 46.25kb (2.11%)
/view/theme/smoothly/images/rarrow.gif -- 0.99kb -> 0.97kb (2.07%)
/images/icons/48/video.png -- 1.00kb -> 0.98kb (2.05%)
/images/icons/48/notify_on.png -- 1.47kb -> 1.44kb (1.99%)
/images/icons/48/image.png -- 2.18kb -> 2.13kb (1.93%)
/view/theme/frio/img/screenshots/screenshot-scheme-red.png -- 750.10kb -> 736.91kb (1.76%)
/view/theme/frio/img/screenshots/screenshot-scheme-love-music.png -- 238.98kb -> 235.05kb (1.65%)
/images/icons/48/lock.png -- 1.31kb -> 1.29kb (1.64%)
/images/icons/10/plugin.png -- 0.46kb -> 0.45kb (1.49%)
/images/icons/48/play.png -- 0.99kb -> 0.98kb (1.47%)
/view/theme/frio/img/screenshots/screenshot-settings.png -- 50.67kb -> 49.96kb (1.41%)
/images/icons/48/zip.png -- 1.62kb -> 1.60kb (1.39%)
/doc/img/globe.png -- 0.79kb -> 0.78kb (1.24%)
/images/icons/48/audio.png -- 1.28kb -> 1.26kb (1.22%)
/images/icons/48/plugin.png -- 1.62kb -> 1.60kb (1.2%)
/images/icons/group.png -- 7.10kb -> 7.02kb (1.13%)
/images/friendica-128.jpg -- 8.17kb -> 8.08kb (1.11%)
/images/icons/10/audio.png -- 0.46kb -> 0.45kb (1.06%)
/images/icons/22/notify_on.png -- 0.70kb -> 0.70kb (0.83%)
/doc/img/editor_frio.png -- 1.43kb -> 1.42kb (0.68%)
/images/screenshots/friendica-frio-default-profile-1.png -- 666.68kb -> 662.45kb (0.63%)
/images/icons/16/image.png -- 0.65kb -> 0.65kb (0.45%)
/images/icons/48/group.png -- 2.34kb -> 2.33kb (0.38%)
2018-07-13 14:38:11 +00:00
Tobias Diekershoff 30cef1a739 some plugins left over (#5369)
* tinymce is not used anymore, we can delete the cuson CSS file

* mv the plugins_details template to addon_details

* renamed template called from admin panel

* some CSS classes that should be addon where still plugin

* Insert a warning into the generated quattro CSS files
2018-07-12 13:18:45 -04:00
Andreas Neustifter 5e76ea6a35 Properly readd CSS changes from PR #5345.
I wrongly added CSS to generated files, now adding changes to less
as is good and proper.

And sorry for PR #5356.
2018-07-11 21:27:44 +02:00
Tobias Diekershoff 34b17ed8fe regenerated quattro CSS files from the less sources to fix #5356 (#5364) 2018-07-11 08:26:23 -04:00
Andreas Neustifter ef0e34adf3 Use imports to reduce quattros css duplications. (#5356) 2018-07-10 16:59:14 -04:00
Andreas Neustifter 298b528c81 Seperate blocks in /admin/features. (#5345)
* Seperate blocks in /admin/features.

Its hard to distinguish between blocks of settings in the features page. Its
useful to clearly mark the blocks belonging together.

* Also try to separate items for other themes.

* Make sure separate settings boxes work in all themes.
2018-07-10 16:57:13 -04:00
Roland Häder 8ad523fbc8
Continued a bit:
- removed/fixed whitespaces and mixture of spaces/tabs (some)
- added new-line character at end of files (POSIX-compilant)
- reverted some code which I had messed up (compared to upstream/develop)
- removed duplicate dba::update() invocation in src/Protocol/DFRN.php
- also removed no longer valid TODO

Signed-off-by: Roland Häder <roland@mxchange.org>
2018-06-20 22:19:54 +02:00
rabuzarus 1a8d3c460e add class "wall-item-body" to all themes 2018-06-16 13:50:56 +02:00
Tobias Diekershoff eec0826750 added link to the TOS page if it is activated 2018-05-16 11:57:06 +02: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
Hypolite Petovan 274ce95d13 Move Composer assets to view/ 2018-03-07 08:07:36 -05:00
rabuzarus 02ef222fe1 fix undeclared variables or wrong variable names (/view) 2018-02-12 16:50:05 +01:00
Hypolite Petovan e34bc8761e Update references to fullcalendar and moment 2018-01-27 15:51:08 -05:00
Hypolite Petovan 30c1cc0e8c
Merge pull request #4312 from zeroadam/feature/L10n
Move pgettext to src
2018-01-24 11:48:55 -05:00
Hypolite Petovan b021b76661 Remove references to video.js 2018-01-22 20:45:42 -05:00
Adam Magness ead9d86236 More t()
Update more t() calls
2018-01-22 18:03:26 -05:00
Adam Magness a7d887a68e CSS files
update plugin references in css files.
2018-01-20 07:48:22 -05:00
Hypolite Petovan e36f2bb1fb Use short form array syntax everywhere
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Adam Magness 4fb2547df8 Update function calls
update function calls to use profile class
2018-01-14 21:22:39 -05:00
Michael f66f631079 We now have a single menu item again 2018-01-04 14:02:04 +00:00
Michael 3ffea2cd2c We now have a global page for all global entries from the network. 2018-01-03 13:27:43 +00:00
Hypolite Petovan 16d0c30328 Move admin templates to dedicated sub-folder 2017-12-01 00:40:55 -05:00
Hypolite Petovan 052ba729d7 Improved translation functions
- Add built-in vsprintf to t()
- Add built-in sprintf to tt()
2017-12-01 00:35:40 -05:00
Michael 76caf7a9cf Small corrections 2017-11-08 06:43:20 +00:00
Michael 76f73c7236 And some more places 2017-11-07 22:15:59 +00:00
Adam Magness 0dfa57948f Issue-#3873
Replace deprecated functions with new syntax.
2017-11-07 06:24:39 -05:00
Michael a5cf2c69c8 Reworked network page 2017-09-13 06:43:43 +00:00
Michael b1668ffdda Address instead of url 2017-09-01 19:32:12 +00:00
Michael 0e8104b172 Links to profiles in mails mow show the profile address and "redir" always works 2017-08-31 12:01:44 +00:00
Michael 5adfeb0bd5 App::get_baseurl is now replaced with System::baseUrl 2017-08-26 07:32:10 +00:00
Michael 3c24bed412 New class "System" 2017-08-26 06:04:21 +00:00
Michael c98ae304c0 Endless scroll now avoids showing the same items 2017-07-31 06:04:37 +00:00
Hypolite Petovan d14da1214c Remove special case of "url" from insertFormatting 2017-05-21 13:41:28 -04:00
Hypolite Petovan 20043914e6 Move App to src
- Add `use Friendica\App;` wherever needed
2017-05-02 22:59:36 -04:00
Hypolite Petovan 56ee734b00 Cleanup /format pre-move 2017-05-02 22:59:24 -04:00
rebeka-catalina 554704e6b9 Added a whitespace between comma and t() 2017-04-08 16:57:24 +02:00
Tobias Diekershoff fb94a0add7 the Quattro admin_user template was missing the users note for the admin 2017-04-07 12:59:22 +02:00
Hypolite Petovan 21cad46d19 Backward compatibility for theme other than frio
- Add .pager .disabled CSS rule
2017-03-01 23:40:34 -05:00
Tobias Diekershoff 51a6903b4c fix for less file of quattro, regen CSS 2017-02-15 07:55:30 +01:00
Tobias Diekershoff e223fee40d remove float left to fix issue 2987 in quattro theme 2017-02-08 07:21:19 +01:00
Hypolite Petovan b61479ba6e Merge remote-tracking branch 'friendica/develop' into issue/#3062
# Conflicts:
#	view/theme/duepuntozero/theme.php
#	view/theme/smoothly/theme.php
2017-01-12 09:19:59 +11:00
Hypolite Petovan 623479a346 Normalize App parameter declaration (view folder) 2017-01-09 23:06:08 +11:00
Hypolite Petovan ecd86ec296 Check for existing element in openMenu()
- Removed useless val() call in the various insertFormatting()
declarations
2017-01-09 11:34:41 +11:00
Hypolite Petovan 479180ca8e Merge branch 'develop' into issue/#3062 2017-01-08 11:44:45 +11:00
Hypolite Petovan d7c9b293d3 Update insertFormatting() definition
- Remove now useless comment parameter
- Formatting all around
- Update data-role=“insert-formatting” links
- Update onclick=“insertFormatting()” links
2017-01-08 02:16:03 +11:00
Hypolite Petovan b50f1f970f Use placeholder attribute for Comment message
- Remove global aStr.comment
- Remove global window.commentEmptyText
- Remove head.tpl $comment parameter
2017-01-08 02:13:55 +11:00
Hypolite Petovan b6ce646d71 Use placeholder attribute for Share message 2017-01-08 02:06:03 +11:00
Hypolite Petovan daa8e4f901 Cleaning up, actual changes are in the next commits
- Formatting
- Trailing spaces
- Extraneous blank lines
- Large comments
2017-01-08 02:03:11 +11:00
Roland Haeder bc9cb5e5f6
added curly braces + fixed indenting according to code review by Hypolite
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-12-30 21:48:09 +01:00
Roland Häder 820ef8e4c7
changed to this:
---------------------
function bla (App &$a) {
	$a->bla = 'stuff';
}
---------------------

Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-23 19:50:51 +01:00
Roland Häder 20e71d21a6 Merge branch 'rewrites/app_get_baseurl_static' into develop
Signed-off-by: Roland Häder <roland@mxchange.org>

Conflicts:
	mod/admin.php
	mod/bookmarklet.php
	mod/community.php
	mod/contacts.php
	mod/crepair.php
	mod/editpost.php
	mod/events.php
	mod/install.php
	mod/lostpass.php
	mod/network.php
	mod/notify.php
	mod/suggest.php
	mod/uexport.php
	mod/videos.php
	view/theme/duepuntozero/config.php
	view/theme/frio/config.php
	view/theme/quattro/config.php
	view/theme/vier/config.php
2016-12-22 11:37:23 +01:00
Roland Häder ace8f753ac added much more curly braces + space between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>

Conflicts:
	mod/bookmarklet.php
	mod/community.php
	mod/contacts.php
	mod/crepair.php
	mod/events.php
	mod/network.php
	mod/suggest.php
	mod/uexport.php
	view/theme/duepuntozero/config.php
	view/theme/frio/config.php
	view/theme/quattro/config.php
	view/theme/vier/config.php
2016-12-20 11:59:13 +01:00
Roland Häder e24c3a5b82 added much more curly braces + space between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-20 11:56:34 +01:00
Roland Häder fb817b18ad changed to this:
---------------------
function bla (App &$a) {
	$a->bla = 'stuff';
}
---------------------

Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-20 10:59:06 +01:00
Roland Häder 884f44ce94 *much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-19 14:27:16 +01:00
Hypolite Petovan 92da411465 Add active response support to quattro theme
- Add active classes to wall_thread.tpl, search_item.tpl and
photo_item.tpl
- Add styles both in the master LESS file and the generated variant CSS
themes
2016-11-22 16:31:37 +01:00
rabuzarus 88f1affb2f quattro: fix events_reminder 2016-10-17 18:57:21 +02:00
Michael Vogel 196eb6009f The XMPP address is now in the profile and will be transmitted 2016-09-25 15:28:00 +00:00
Ben Roberts 864cf0f70d update MF2 and vcard data for issue #2629 2016-06-21 10:23:43 -04:00
rabuzarus c99da380cf frio: events - adapt changes to the templates of the other themes 2016-06-17 10:33:12 +02:00
Michael Vogel e2c0f04eeb Added short description to "mark as seen" 2016-06-01 07:05:44 +02:00
Michael Vogel 7e6598f2c0 Adopted the changes to the other themes as well. 2016-05-30 07:18:25 +02:00
Fabrixxm 6734aa5c28 Make user table in admin sortable via table headers
new GET param for /admin/user: 'o'
value is db table to order by. values are limited by script.
invalid values are discarded.
preped with '-' to order descending.
show unicode arrows in table headers to visually indicate sorting.
2016-05-16 14:38:00 +02:00
rabuzarus 6944d67dbc photos view: fix js error with undefined variable 2016-05-13 01:26:07 +02:00
Tobias Diekershoff bbd5878734 Merge pull request #2449 from rabuzarus/1404_reworked_autocomplete
new autocompletion
2016-04-16 08:16:21 +02:00
rabuzarus 01b02dbcaa Merge develop into 1404_reworked_autocomplete
Conflicts:
	include/text.php
	view/templates/head.tpl
	view/theme/duepuntozero/style.css
	view/theme/vier/style.css
2016-04-14 16:23:51 +02:00
rabuzarus c73e93b19b quattro fix for #2385 - respect acl on event edit 2016-04-13 17:43:46 +02:00
fabrixxm d30d13959b Merge pull request #2328 from rabuzarus/0602_contact_profile
polishing of the contact-edit page
2016-03-06 19:56:59 +01:00
Roland Haeder 04a7d6384e
No need to set $a->theme_info = array() everywhere if you can define it in App
itself.

Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-03-01 14:27:38 +01:00
rabuzarus 0b5d7b300e contactedit-actions-button: adjust the themes and template polishing 2016-02-08 23:15:20 +01:00
rabuzarus e3475bd587 rework autocomplete: css work 2016-01-21 13:28:29 +01:00
fabrixxm fcf7a791f1 Revert "Merge pull request #2223 from rabuzarus/2912_photo_widget"
This reverts commit 83e54f70d3, reversing
changes made to ecf576bdd0.
2016-01-04 11:46:19 +01:00
rabuzarus 20fbf670db photo aside widget for profile page 2015-12-30 00:26:50 +01:00
fabrixxm 6da04d16bd get rid of unwanted <br>s in items with oembed
fix video thumbnail in quattro, vier, duepuntozero themes
2015-12-28 18:07:31 +01:00
Fabrixxm d4dd863b4b quattro: style managed unread notification 2015-12-21 16:19:56 +01:00
Fabrixxm b79d98aea5 quattro: fix PM aside template
errors was raised with new "show message list in aside" patch
2015-12-21 09:43:10 +01:00
fabrixxm 38d46b164a quattro: some love to events pages 2015-12-04 20:43:35 +01:00
fabrixxm f739fdc517 Quattro: Rss icon for atom feed link in profile 2015-12-04 19:57:19 +01:00
fabrixxm f44846555a quattro: hide acl button in edit post
fix #1780
2015-12-04 19:29:13 +01:00
rabuzarus 89c5989cfb unify hcard and vcard 2015-12-01 18:31:08 +01:00
Michael Vogel 4efb6c6f79 Merge pull request #2120 from rabuzarus/2911_network_header
2911 network header
2015-11-30 08:30:34 +01:00
rabuzarus a6aac8f950 networkheader: do css work the other supported themes 2015-11-30 01:24:22 +01:00
Tobias Diekershoff ba441789b9 followup for #2110 putting the styling in less file and recompile css 2015-11-29 11:18:32 +01:00
Tobias Diekershoff be40fb8186 Merge pull request #2110 from annando/1511-subscribe-feed
Issue 1779: Atom feed link under the connect link on the profile page
2015-11-29 08:40:39 +01:00
rabuzarus f5597da059 forumlist - mark selected forum as selected 2015-11-28 23:52:12 +01:00
Michael Vogel 388847e1f3 Issue 1779: There is now an atom feed link under the connect link on the profile page 2015-11-28 18:11:34 +01:00
Michael Vogel 3b6d3d1ade Merge pull request #2099 from rabuzarus/2611_new_user_addr
generate addr for new registered users
2015-11-27 21:35:46 +01:00
rabuzarus 620299dc25 include friendica address in hcard 2015-11-26 17:46:38 +01:00
rabuzarus ddf3589fc5 count unread forum items for forumlist widget (ping.php) 2015-11-24 22:14:26 +01:00
fabrixxm c700a6fb37 duepuntozero, vier: add unread messages per group 2015-11-08 18:02:04 +01:00
fabrixxm 3c1127e613 remove debug code 2015-11-08 17:04:39 +01:00
fabrixxm d522d7095d quattro: add unread message count per groups 2015-11-08 16:55:44 +01:00
rabuzarus e785759a8b template-rework:make use of get_contact_details_by_url() 2015-11-03 14:31:15 +01:00
rabuzarus b6cceda131 template rework: revert commit because plugin community home uses the css classes 2015-10-23 15:41:49 +02:00
rabuzarus efb12aed20 template rework: little theme specific changes (frost, quattro) 2015-10-23 01:32:03 +02:00
rabuzarus b2bb600f3a template rework: delete unused css 2015-10-23 01:04:47 +02:00
rabuzarus f9c0c1d696 template rework: use viewcontact_template.tpl for contact dealing pages 2015-10-18 17:12:48 +02:00
Tobias Diekershoff da8c81a12e cleanup forgotten lines 2015-10-12 15:58:34 +02:00
Tobias Diekershoff 3debdf0a91 attend functionality for quattro theme (part of #1953) 2015-10-12 15:34:18 +02:00
Michael Vogel d500ea4324 Some more accesskeys for Quattro 2015-08-09 09:55:51 +02:00
Michael Vogel d65d74d460 Added the changes in quattro as well 2015-08-09 09:28:10 +02:00
Fabrixxm 52f9465578 filebrowser fixs, use it in comment textareas
move filebrowser js to single file
document filebrowser usage
replace "onclick" for comment style buttons with data-* and move logic to main.js
use filebrowser to insert images in comments
2015-07-29 11:30:04 +02:00
Fabrixxm 70b7de39a7 Upload/Browse popup for files and images
Jot buttons to upload images and files show a popup, where the
user can select a previously uploaded item o upload a new one
2015-07-28 17:20:40 +02:00
Tobias Diekershoff 8bfbb935c7 add missing icons to quattros event view 2015-07-19 10:56:40 +02:00
fabrixxm 5a23bd400c Merge pull request #1715 from rabuzarus/theme_uid
use local theme settings for visitors
2015-06-30 08:41:07 +02:00
rabuzarus 36abf624d8 make supported themes compatible with get_theme_uid 2015-06-29 23:03:44 +02:00
rabuzarus 8cca849c2e Merge acl-var into develop
Conflicts:
	mod/settings.php
2015-06-27 15:23:19 +02:00
rabuzarus d8c0c62331 work on supported themes to use new acl 2015-06-26 15:44:32 +02:00
Fabrixxm 6fc864c947 rework mod/ping and desktop notification logic
`mod/ping.php` returns all notifications ordered by date
mixing system notifications, private messages, intros, registrations
remove 'notify_full' mode
remove `&arr;` from unseen notes, 'seen' attrib now is "1" or "0"
new note attribute 'timestamp'
desktop notification logic use timestamp to check which notification show to the user
notification html template use timestamp to show full date to user in tooltip
`relative_date()` don't append full date on dates older than 24 hours
2015-06-25 10:02:26 +02:00
Fabrixxm e29d05ce4a notifications order, unseen css class
ping return notfications ordered by notification id
notifications list get seen/unseen class from ping xml
global.css define 'notify-unseen'
2015-06-24 16:10:06 +02:00
Fabrixxm cc9da2512b move field help text css to global.css 2015-06-24 10:11:11 +02:00
Fabrixxm 4036ad2554 Fix desktop notification
use on/off field for enable/disable desktop notification
show only new notifications after enable
use localstorage to save enabled/disalbed and last notification id
hide settings on browsers without desktop notification
2015-06-24 09:49:53 +02:00
Tobias Diekershoff 5549dd1dbe Merge pull request #1682 from fabrixxm/issue-1625
admin: allow deletion of any users but yourself
2015-06-23 11:05:16 +02:00
Fabrixxm 3168b44317 admin: allow deletion of any users but yourself
fix #1625
2015-06-23 10:39:28 +02:00