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
c63ad5afee
vier theme was missing an icon for the block button
2018-07-30 17:32:35 +02:00
Hypolite Petovan
a6fb3568f9
Rename dbesc to DBA::escape
2018-07-23 15:30:54 -04:00
Hypolite Petovan
ecea7425f8
Rename DBA::is_result to DBA::isResult
2018-07-23 11:04:14 -04:00
Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2018-07-23 11:02:24 -04:00
Roland Häder
36c6e35c7e
Misc cleanups ( #5417 )
...
* Fixed http://github to https://github
Signed-off-by: Roland Häder <roland@mxchange.org>
* reverted back
Signed-off-by: Roland Häder <roland@mxchange.org>
* Added type-hint 'array' as the method uses foreach() on it.
Signed-off-by: Roland Häder <roland@mxchange.org>
* Tpzo fixed ...
Signed-off-by: Roland Häder <roland@mxchange.org>
* Added missing new-line at end of file, will make some POSIX parsers being lesser
confused ...
Signed-off-by: Roland Häder <roland@mxchange.org>
2018-07-19 20:52:18 -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
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
Michael Vogel
0360f7197a
Several more warnings ... ( #5340 )
...
* Some more warnings removed
* Even more warnings ...
* Will it ever end? ;-)
* Avoid warning in dbstructure
* Origin and OStatus ...
* There are more warnings solved ... yeah!
* And again ...
* We are not done yet
* And more ...
* And some new places ...
* And more in the feeds
* Avoid some more
* And some backend stuff
* Notifications cleared
* Some more stuff
* and again ...
* It's getting fewer ...
* Some warnings had been hidden in the notifications
* Fix the fix
* And another missing one ...
* We need the owner here, not the user
* Forgotten user
* And more ...
* And some more warnings disappeared ...
* Some more frontend warnings
* Some backend warnings removed
* Fixed sidebar for "vier"
* And more ...
* Some more ...
* And something for "remote self"
* Am I stuck in an endless loop?
* Fix: Clear tag and file field on update
* Preset page content
2018-07-10 08:27:56 -04:00
Andreas Neustifter
09b7e217c7
[Suggestion] Move New User Tip Link ( #5342 )
...
* Move new member tips to navigation bar.
The link looks so forlorn when its just somewhere in there. Put it in the nav bar.
* Style new member hints link propery.
* Make changes requested by @MrPetovan .
2018-07-09 18:20:57 -04:00
3e797547a3
Warnings fixed
2018-07-08 09:37:05 +00:00
rabuzarus
1a8d3c460e
add class "wall-item-body" to all themes
2018-06-16 13:50:56 +02:00
8a34895a23
Use magicLink whenever possible
2018-06-02 08:05:06 +00:00
eec0826750
added link to the TOS page if it is activated
2018-05-16 11:57:06 +02:00
Andreas Neustifter
59b57459c6
Fix layout issue introduced with PR #4873 .
...
The find button in the find-people widget was badly layouted on Firefox under Debian.
Remove the width constraint and float: left so the button gracely drops to the next
line when necessary.
2018-04-30 21:22:59 +00:00
rabuzarus
a19784d209
Merge pull request #4890 from astifter/reorganize_login
...
Reorganize Login to Fix #4878
2018-04-27 19:56:25 +02:00
rabuzarus
ac753e3320
frio - provide a template for invite page
2018-04-24 17:33:48 +02:00
Andreas Neustifter
2d8a4a923f
Fix login dialog layout.
...
Rearrange login dialog distinguish better between logging und registering.
2018-04-23 20:29:55 +00:00
Friendica
390983a331
Haromonize Find People Widget.
...
In the right_aside on the /contacts page in the left aside there are
almost identical widgets to search for contacts. Drop one and use common
widget in both places.
2018-04-22 20:44:22 +00:00
00311af79b
added missiing information to theme templates
2018-04-12 10:33:28 +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
27d94023ee
Merge branch 'master' into develop
2018-03-23 06:15:55 -04:00
Andi
97840abdd6
2018-03-22 01:25:43 +01:00
Andi
1e2820805b
vier: replace hard coded style path
2018-03-22 01:15:59 +01:00
Hypolite Petovan
274ce95d13
Move Composer assets to view/
2018-03-07 08:07:36 -05:00
Hypolite Petovan
7a38fbf84b
[Scrutinizer] Fix undeclared variables part 7: mod/ and view/
...
- Remove unused function `salmon_return()`
2018-02-14 00:07:26 -05:00
rabuzarus
02ef222fe1
fix undeclared variables or wrong variable names (/view)
2018-02-12 16:50:05 +01:00
rabuzarus
9a4d19e284
move membersince addon to core
2018-02-09 20:44:45 +01:00
c28b62b302
lets print out the internets
2018-01-31 11:31:47 +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
fe7786671e
removed heading backgrnd, added mention highlight
2018-01-24 08:02:33 +01:00
1908a9feb9
Config::get returns null if value not set, so the check needs to be adopted
2018-01-23 08:15:53 +01: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
Hypolite Petovan
a5952e5425
Merge pull request #4297 from hoergen/develop
...
[vier] changed some spacing
2018-01-21 08:34:01 -05:00
d384b7b117
changed some spacing
2018-01-21 14:29:18 +01:00
Adam Magness
a7d887a68e
CSS files
...
update plugin references in css files.
2018-01-20 07:48:22 -05:00
Adam Magness
6c4c567319
Remove require
...
remove require_once for plugins.php
2018-01-20 07:48:22 -05:00
Adam Magness
11cf36105c
Update Addon functions and calls
...
Update function names and calls for Addon class.
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
1f8b9b68e5
Changes on popup menus
2018-01-12 08:05:51 +01:00
95309fe5c4
Adjustments events view in timeline/wall
2017-12-11 00:16:23 +01:00
6baf7b4da2
removed avatar and name from month/week and fixed time display
2017-12-11 00:03:59 +01:00
f4fdf61f44
Mostly calendar adjustments
2017-12-10 14:18:24 +01:00
6bf75a2f31
added more styles for setting page and fixed input pointer
2017-12-09 04:03:18 +01:00
Hypolite Petovan
bc58e8d3be
Rename Model\GlobalContact to Model\GContact
2017-12-07 23:57:56 -05:00
Michael Vogel
5747cfc79c
Revert "Move Objects to Model"
2017-12-08 05:21:51 +01:00
Michael Vogel
e437c74d0e
Merge pull request #4031 from MrPetovan/task/3878-move-objects-to-model
...
Move Objects to Model
2017-12-08 05:02:21 +01:00
0e2355039f
Style buttons, lists, inputs and some cleanup
2017-12-08 02:16:50 +01:00
Hypolite Petovan
cd84bf8963
Rename Model\GlobalContact to Model\GContact
2017-12-07 09:09:28 -05:00
90292d761d
customized and colored buttons
2017-12-07 01:56:21 +01:00
Adam Magness
cadfef63c4
Update false evaluations
...
=== false and !== false to is_null where appropriate.
2017-12-06 14:57:06 -05:00
0b752324b5
plusminus - removed blockquote borders, adjusted font size on several elements and classes
2017-12-03 13:39:56 +01:00
346820990c
added some styles and removed typos
2017-11-30 00:13:16 +01:00
52625653d3
removed tabsi, removed some blank lines.
2017-11-29 17:43:09 +01:00
a926c8ce4c
added some more minimalism, added annotations, removed some blank lines
2017-11-29 17:12:25 +01:00
Hypolite Petovan
b65247a251
Merge pull request #3968 from hoergen/develop
...
added new style sheet to theme vier
2017-11-26 17:46:43 -05:00
c32b6000cb
removed blank lines
2017-11-26 21:56:39 +01:00
b348692a47
added plusminus style sheet and sort the style sheets alphabetically
2017-11-26 20:46:55 +01:00
887655c1bd
added new style sheet plusminus
2017-11-26 20:46:20 +01:00
7a8fb79fc5
Adding new stylesheet to theme vier. It aims a more clean visual
2017-11-26 20:45:17 +01:00
cb7648359c
When we are requesting a conneczion, the contactis no longer "blocked"
2017-11-26 02:31:26 +00:00
3cb906c420
Issue 3911: Fetch keywords for feeds
2017-11-25 11:59:20 +00:00
Adam Magness
7cee150868
ForumManager to src
...
ForumManager moved to Friendica\Content namespace
2017-11-21 07:20:22 -05:00
Adam Magness
259f91caa9
PortableContact created
...
Create PortableContact and remove socgraph, update references, and calls
2017-11-15 10:53:16 -05:00
Adam Magness
47db624105
GlobalContact created
...
Moved DirSearch and GlobalContact related functions to Friendica\Model namespace
2017-11-15 09:47:49 -05:00
731ec347b1
Removed old template parser
2017-11-11 09:26:23 +00:00
rebeka-catalina
ef485cd8b7
Made hyperlinks visually different from normal text
2017-11-11 08:40:45 +01:00
Adam Magness
4ca68c7af0
Class file relocations
...
Issue #3878
2017-11-08 08:37:03 -05:00
Adam Magness
0dfa57948f
Issue-#3873
...
Replace deprecated functions with new syntax.
2017-11-07 06:24:39 -05:00
rabuzarus
8167e75e6a
fix some more HTML violations in posted_date_widget.tpl
2017-10-19 16:34:08 +02:00
rabuzarus
67b9e57547
add event copy link to default event.tpl
2017-10-15 22:52:22 +02:00
S.Krumbholz
80dde20c64
Update vier with new global support forum
...
vier has a hardcoded path to the helpers forum as well.
I've changed the path of the global support forum to https://forum.friendi.ca/profile/helpers .
2017-10-12 15:59:13 +02:00
5adfeb0bd5
App::get_baseurl is now replaced with System::baseUrl
2017-08-26 07:32:10 +00:00
3c24bed412
New class "System"
2017-08-26 06:04:21 +00:00
c98ae304c0
Endless scroll now avoids showing the same items
2017-07-31 06:04:37 +00:00
Hypolite Petovan
ad4cdf2a9d
Replace lowercase operators
2017-06-08 21:03:44 -04:00
Hypolite Petovan
9c0d2c31e8
Replace AND and OR in PHP conditions by && and ||
2017-06-07 22:00:59 -04: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
60552260e1
Continued with CR:
...
- added spaces as requested
- removed parentheses from include/require calls as they are no functions
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-03-31 21:04:39 +02:00
5bc2ebb267
Please use x() correctly:
...
<?php
if (x($someArray, 'element')) {
// Do something
}
?>
Signed-off-by: Roland Haeder <roland@mxchange.org>
2017-03-30 21:37:08 +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
rebeka-catalina
39da1f1d03
Update dark.css
2017-02-03 19:07:39 +01:00
rebeka-catalina
2483e7cda7
Make links visually different from normal text
2017-02-03 19:00:04 +01:00
rabuzarus
ec4e60ce3a
style the photo album page of the vier theme
2017-01-30 15:00:26 +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
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
bb06d9ce32
Continued with coding convention:
...
- added curly braces around conditional code blocks
- added space between if/foreach/... and brace
- rewrote a code block so if dbm::is_result() fails it will abort, else the id
is fetched from INSERT statement
- made some SQL keywords upper-cased and added back-ticks to columns/table names
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-12-20 21:17:19 +01:00
54615be22e
Continued with coding convention:
...
- added curly braces around conditional code blocks
- added space between if/foreach/... and brace
- rewrote a code block so if dbm::is_result() fails it will abort, else the id
is fetched from INSERT statement
- made some SQL keywords upper-cased and added back-ticks to columns/table names
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-12-20 21:16:01 +01:00
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
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
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
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
448c5aa694
Cleanup for #3010 - added spaces, thanks to @annando .
...
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-14 09:42:28 +01:00
63610c7b73
Merge branch 'rewrites/dbm_is_result' of github.com:Quix0r/friendica into rewrites/dbm_is_result
...
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
include/Photo.php
include/api.php
include/cache.php
include/dbstructure.php
include/enotify.php
include/items.php
include/onepoll.php
include/queue_fn.php
include/session.php
include/text.php
mod/contacts.php
mod/dfrn_request.php
mod/display.php
mod/events.php
mod/item.php
mod/message.php
mod/msearch.php
mod/photos.php
mod/poco.php
mod/profile.php
mod/proxy.php
mod/videos.php
update.php
view/theme/diabook/theme.php
view/theme/vier/theme.php
2016-12-13 11:00:44 +01:00
6a8a36f12d
More usage of dbm::is_result($r) instead of count($r):
...
- count() returns very different results and never a boolean (not even false on
error condition).
- therefore you should NOT use it in boolean expressions. This still *can* be
done in PHP because of its lazyness. But it is discouraged if it comes to
more clean code.
Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-13 10:44:13 +01:00
Hypolite Petovan
3e4781172f
Add response active support to vier theme
...
- Add active class to wall_thread.tpl, search_item.tpl, photo_item.tpl
- Add style
Note: because of an !important in the Dark variant stylesheet, the
active links won't show up
2016-11-22 16:32:04 +01:00
Michael Vogel
196eb6009f
The XMPP address is now in the profile and will be transmitted
2016-09-25 15:28:00 +00:00
c825cc8d0d
This merge brings back dbm::is_result() where I could find it.
...
Merge branch 'develop' of github.com:friendica/friendica into rhaeder-develop
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-09-18 23:21:18 +02:00
rabuzarus
37ae63e120
fix contact dropping on contact edit page also for other themes
2016-08-17 16:51:04 +02:00
rabuzarus
768d10536f
frio: templates for contact_edit and crepair
2016-07-26 09:09:40 +02:00
Ben Roberts
864cf0f70d
update MF2 and vcard data for issue #2629
2016-06-21 10:23:43 -04:00
rabuzarus
7dc5fc8b9f
Merge develop into 1206-events-template
...
Conflicts:
view/theme/frio/css/style.css
2016-06-17 14:33:08 +02:00
rabuzarus
c99da380cf
frio: events - adapt changes to the templates of the other themes
2016-06-17 10:33:12 +02:00
rabuzarus
3a9a9e6a1c
frio + core: some restructure in profiles.php + frio template for profiles settings
2016-06-10 11:24:38 +02:00
Michael Vogel
e2e32eecac
New template for shared content instead of hardcoded stuff in source
2016-06-07 22:29:50 +02:00
Michael Vogel
0a617da044
Wall message can now redirect to your own page if you are connected.
2016-05-29 21:29:26 +02:00
rabuzarus
6944d67dbc
photos view: fix js error with undefined variable
2016-05-13 01:26:07 +02:00
3a819e3630
Merge pull request #2500 from fabrixxm/feature_mobile_notification_menu
...
style notification menu to be more mobile-friendly
2016-05-02 15:20:56 +02:00
Fabrixxm
343c7faba4
style notification menu to be more mobile-friendly
2016-05-02 14:55:57 +02:00
Fabrixxm
9a6cfcfd88
small fix to embed iframes on mobile
2016-05-02 14:17:55 +02:00
3e701b90ac
Continued rewriting:
...
- use dba::is_result() everywhere (where I found the old, bad way)
- converted some spaces -> tabs for code
- converted some CRLF -> LF as mixures of both is not good
Signed-off-by: Roland Haeder <roland@mxchange.org>
2016-05-01 14:24:44 +02:00
rabuzarus
f695c918fd
vier-mobile: expand embedded video on play
2016-05-01 13:48:52 +02:00
rabuzarus
aef332aad0
vier-mobile: little css fix
2016-05-01 13:48:52 +02:00
rabuzarus
10ac4a4475
vier-mobile: fix embedded video for tablets and bigger
2016-05-01 13:48:52 +02:00
rabuzarus
08abb4ae79
vier-mobile: fix embedded video and embedded link images for tablets and bigger
2016-05-01 13:48:52 +02:00
rabuzarus
d049c8d5c5
vier-mobile: fix threaded view for tablets and bigger
2016-05-01 13:48:52 +02:00
Michael Vogel
829e7ace06
Vier: No visible login border/no search and events without login
2016-05-01 13:48:52 +02:00
rabuzarus
0056403b15
fix: contact edit poll_interval wasn't submitted
2016-05-01 13:48:52 +02:00
rabuzarus
856f54da62
rework autocompletion: Update mobile.css
2016-05-01 13:48:52 +02:00
rabuzarus
d32c0e8eb4
vier: colorbox fix (img max-width: 100%)
2016-05-01 13:48:52 +02:00
rabuzarus
cc7d1d453b
rework autocomplete: seperate bbcode completion
2016-05-01 13:47:24 +02:00
rabuzarus
2bd60075ae
rework autocomplete: some styling if contact is forum
2016-05-01 13:46:08 +02:00
rabuzarus
586b251539
rework autocomplete: some cleanup and docu
2016-05-01 13:46:08 +02:00
rabuzarus
52896d64c2
rework autocomplete: css work
2016-05-01 13:45:38 +02:00
rabuzarus
9943d4a60a
vier-mobile: expand embedded video on play
2016-04-25 22:12:53 +02:00
Michael Vogel
1f4f60a82d
Merge pull request #2480 from rabuzarus/2504_vier_mobile_fix
...
vier mobile fixes
2016-04-25 21:41:43 +02:00
rabuzarus
4daa9a50f5
vier-mobile: little css fix
2016-04-25 20:30:02 +02:00
rabuzarus
fa66fa9b28
vier-mobile: fix embedded video for tablets and bigger
2016-04-25 20:24:36 +02:00
rabuzarus
7b48ef23d5
vier-mobile: fix embedded video and embedded link images for tablets and bigger
2016-04-25 20:04:10 +02:00
rabuzarus
c553ab9b46
vier-mobile: fix threaded view for tablets and bigger
2016-04-25 19:54:03 +02:00
Michael Vogel
0c5f315294
Vier: No visible login border/no search and events without login
2016-04-24 21:45:06 +02:00
rabuzarus
7ee9c536ee
fix: contact edit poll_interval wasn't submitted
2016-04-20 15:37:34 +02:00
rabuzarus
9190380dec
rework autocompletion: Update mobile.css
2016-04-17 22:27:49 +02:00
rabuzarus
84238e1b89
vier: colorbox fix (img max-width: 100%)
2016-04-17 15:34:15 +02:00
rabuzarus
98b62b80f3
rework autocomplete: seperate bbcode completion
2016-04-14 23:59:29 +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
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
Michael Vogel
996cd8c24e
The Font Awesome library is now updated, the replxy button is changed
2016-03-05 13:29:01 +01:00
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
0db83b9586
contactedit-actions-button: move repair back to tabbar
2016-02-23 19:19:45 +01:00