Commit Graph

277 Commits

Author SHA1 Message Date
Daniel c0d363e317
[Poll] Restructured templates, added misssing poll related css 2021-09-14 13:10:13 +01:00
Daniel 7a299162e1
[Poll] Polls now have an associated note, poll templates, start_show_styles event, started css 2021-09-14 13:10:13 +01:00
Angelo D. Moura 5acfda8ae5
[TWIG] Add SVG icon embed function 2021-09-14 13:06:58 +01:00
Hugo Sales 460712e15e
[GIT] Change my email to the new one in all files and bump copyright year 2021-09-14 13:06:56 +01:00
Hugo Sales 6cf30f3f65
[UI] Make configured instance name show in UI, fix repeat icon 2021-09-14 13:06:54 +01:00
Hugo Sales ebb33cd6f7
[CSS][UI] Update CSS to fix reply note action (icon swap needed) and remove duplication 2021-09-14 13:06:53 +01:00
rainydaysavings 244aa4af08
[UI] CSS polish all around 2021-09-14 13:06:50 +01:00
rainydaysavings 651ec890d6
[UI] Fixing Login CSS issues 2021-09-14 13:06:49 +01:00
rainydaysavings a9d5f8ac5b
[UI][TWIG] Fixing note actions placement and size, more descriptive rules 2021-09-14 13:06:49 +01:00
Hugo Sales 26f01c4c92
[Posting] Fix posting form name and css 2021-09-14 13:06:49 +01:00
rainydaysavings 7cb13ee5e9
[UI] All radio buttons now look like they should 2021-09-14 13:06:48 +01:00
rainydaysavings a7744351dd
[UI] Fixing note actions views 2021-09-14 13:06:47 +01:00
rainydaysavings 3d3db96312
[UI] Replies border fix and other minor fixes 2021-09-14 13:06:47 +01:00
rainydaysavings 55e468bd70
[TWIG][UI] Replies CSS fixes 2021-09-14 13:06:46 +01:00
rainydaysavings fee81f8499
[UI] Fixing note actions placement 2021-09-14 13:06:46 +01:00
rainydaysavings 0b3543aaff
[UI] Responsiveness overall polish 2021-09-14 13:06:46 +01:00
rainydaysavings baac5ef19c
[UI] Browser compatibility improvements, various small fixes 2021-09-14 13:06:46 +01:00
rainydaysavings 59da3df28c
[UI] Checkboxes now display a custom tick 2021-09-14 13:06:46 +01:00
rainydaysavings ecdd393c8e
[UI] No focus outlines by default 2021-09-14 13:06:45 +01:00
rainydaysavings 47901e7ed6
[UI] Reply icon now shows accordingly, same for the replies themselves 2021-09-14 13:06:45 +01:00
rainydaysavings 1742bce78e
[UI] Custom and accessible checkboxes, radio buttons and normal buttons 2021-09-14 13:06:45 +01:00
Hugo Sales 0b50905ac8
[NOTE][UI] Add note replying and UI displaying 2021-09-14 13:06:45 +01:00
rainydaysavings e812dba033
[UI] Posting form re-styling 2021-09-14 13:06:44 +01:00
rainydaysavings 9e3eb9992f
[UI] Posting form styling work 2021-09-14 13:06:44 +01:00
rainydaysavings 9fcd18f751
[UI] Post form new structure first styling implementation 2021-09-14 13:06:43 +01:00
rainydaysavings 8a5cadf8d2
[UI] Small border fix 2021-09-14 13:06:43 +01:00
rainydaysavings c837194af2
[UI] Small border radius problem fix 2021-09-14 13:06:43 +01:00
rainydaysavings fe0af2caed
[UI] Fixing login and register styling, refactoring 2021-09-14 13:06:43 +01:00
rainydaysavings 99ac4dc2a3
[UI] Fixing issue where notices wouldn't break text 2021-09-14 13:06:43 +01:00
rainydaysavings 396af498a2
[UI] Fixing static pages styling 2021-09-14 13:06:43 +01:00
rainydaysavings a85b5b44f1
[UI] Fixes to settings CSS 2021-09-14 13:06:42 +01:00
rainydaysavings 2c59dcefcf
[UI] Finalizing timeline structure and CSS 2021-09-14 13:06:42 +01:00
rainydaysavings 33832297bd
[UI] New reset CSS to deal with firefox's abysmal and evil defaults 2021-09-14 13:06:42 +01:00
rainydaysavings 1b350d51fc
[UI] Fixing timeline notice structure and CSS 2021-09-14 13:05:57 +01:00
rainydaysavings 3def39fed3
[UI] Fix left panel new dynamic components view 2021-09-14 13:05:57 +01:00
Hugo Sales eb138ebdae
[STREAM][NetworkPublic] Add skeleton of public timeline and posting 2021-09-14 13:05:54 +01:00
rainydaysavings b80479dc4e
[UI] Public feed responsive CSS work 2021-09-14 13:05:53 +01:00
rainydaysavings 5d859b6459
[UI] Responsive settings CSS work 2021-09-14 13:05:53 +01:00
rainydaysavings ea61109932
[UI] Responsive base design polish 2021-09-14 13:05:53 +01:00
rainydaysavings ccd6667e2c
[UI] Feed structure done, feed CSS work 2021-09-14 13:05:53 +01:00
rainydaysavings 5f0ece177b
[UI] Polishing design, settings pages 2021-09-14 13:05:53 +01:00
rainydaysavings 46eaccb4b0
[UI] Polishing base template 2021-09-14 13:05:53 +01:00
rainydaysavings e9a0528275
[UI] Left panel theme now looks like it should 2021-09-14 13:05:53 +01:00
rainydaysavings 8fe12f48b5
[UI] Right panel checkbox size fix 2021-09-14 13:05:52 +01:00
rainydaysavings 80d92e3c88
[UI] Settings theme according to base theme 2021-09-14 13:05:52 +01:00
rainydaysavings 915f1dfcdb
[UI] Complete base CSS overhaul and new theme 2021-09-14 13:05:52 +01:00
rainydaysavings 565140adcf
[UI] Right panel added 2021-09-14 13:05:52 +01:00
rainydaysavings 1c7ea95b1f
[UI] Additional fixes to settings page 2021-09-14 13:05:52 +01:00
rainydaysavings 13700edb3e
[UI] Small general settings CSS fixes 2021-09-14 13:05:52 +01:00
rainydaysavings fb0f3b9dfb
[UI] Settings small fix 2021-09-14 13:05:52 +01:00
rainydaysavings f0558feb98
[UI] Notification settings checkbox placement fix 2021-09-14 13:05:52 +01:00
Hugo Sales bd8f4bd277
[AVATAR] Fixed avatar upload, added avatar inline download and updated template and base controller 2021-09-14 13:05:51 +01:00
Hugo Sales 0cddbc1783
[JS] Whitespace cleanup 2021-09-14 13:05:50 +01:00
rainydaysavings db8e783233
[UI] Notifications settings styling finished 2021-09-14 13:05:49 +01:00
rainydaysavings 6b85d38ad6
[UI] Notification settings styling progress 2021-09-14 13:05:49 +01:00
rainydaysavings bdae49718f
[UI] Notification settings tabs functional 2021-09-14 13:05:49 +01:00
rainydaysavings 884d2529d3
[UI] Notifications settings page CSS work 2021-09-14 13:05:49 +01:00
rainydaysavings ea33243b60
[UI] Accessibility improvements all around 2021-09-14 13:05:49 +01:00
rainydaysavings 54bade96ad
[UI] Fixed issue where certain form element would be on top the left panel 2021-09-14 13:05:49 +01:00
rainydaysavings d717aac67f
[JS][UI][AVATAR] JS cropping script 2021-09-14 13:05:48 +01:00
rainydaysavings 774383a3c1
[UI] Cropping avatar as a circle, proper preview done 2021-09-14 13:05:48 +01:00
rainydaysavings 574fb38225
[CONTROLLER][UI] Avatar JS cropping added 2021-09-14 13:05:48 +01:00
rainydaysavings 1d5a1818c1
[UI] Login and Register button fixes 2021-09-14 13:05:48 +01:00
rainydaysavings 199fa0278c
[CONTROLLER][UI] Fixing controller display errors, Settings CSS fixes 2021-09-14 13:05:45 +01:00
rainydaysavings a9b614bbdd
[UI] Register and Login rework 2021-09-14 13:05:45 +01:00
rainydaysavings ea131d03e1
[TWIG][ROUTES] Footer links routes and pages added 2021-09-14 13:05:43 +01:00
rainydaysavings fa613b7098
[UI][ROUTES] Footer links added 2021-09-14 13:05:43 +01:00
rainydaysavings 6d4f6b5109
[UI] Fixing problem due to Firefox's autofill filter 2021-09-14 13:05:43 +01:00
rainydaysavings 0dc3d3023e
[UI] Left panel template and Login page CSS work done 2021-09-14 13:05:42 +01:00
rainydaysavings 6dd966bd3f
[UI][CONTROLLER][ROUTES] UserPanel account page form added, account page CSS work 2021-09-14 13:05:37 +01:00
rainydaysavings 5a53915f80
[UI] Fixed top header spacing issue, hamburger menu weird rendering 2021-09-14 13:05:37 +01:00
rainydaysavings d0b04b6084
[UI] FAQ pages markdown fixes 2021-09-14 13:05:37 +01:00
rainydaysavings c9f731507b
[UI][CONTROLLER] Form help messages added, fixed checkbox trick hitbox 2021-09-14 13:05:37 +01:00
rainydaysavings 0dfb96cdeb
[UI] Reset CSS added, small fixes all around 2021-09-14 13:05:37 +01:00
rainydaysavings 1558bffcac
[UI] Settings page CSS redesign port completed 2021-09-14 13:05:37 +01:00
rainydaysavings 63a443e78e
[UI][CONTROLLER][ROUTES] Corrected core action name, UserPanel CSS work 2021-09-14 13:05:37 +01:00
rainydaysavings 0b0bd31a4b
[UI] Fixed FAQ template issues 2021-09-14 13:05:36 +01:00
rainydaysavings 19a96539aa
[UI] Side panel animation added 2021-09-14 13:05:36 +01:00
rainydaysavings 22042a8cb7
[UI] Redesign responsiveness work done 2021-09-14 13:05:36 +01:00
rainydaysavings f8fc226673
[UI] Further work into new side panel design 2021-09-14 13:05:36 +01:00
rainydaysavings 4eaf272929
[UI] Basic implementation of the new base design 2021-09-14 13:05:36 +01:00
rainydaysavings 115257f3bb
[UI] Polishing FAQ CSS 2021-09-14 13:05:36 +01:00
rainydaysavings 0117883bd5
[UI] Standardization of sizes and variable usage for faster theming 2021-09-14 13:05:36 +01:00
Hugo Sales b7b50f749b
[CACHE][HTTP] Configure simple HTTP cache 2021-09-14 13:05:33 +01:00
rainydaysavings 996f2338a5
[CONTROLLER] UserAdminPanel handle request fix
[UI] Minor CSS font size corrections
2021-09-14 13:05:32 +01:00
rainydaysavings 82d50cc962
[TWIG][UI] Settings: removed unnecessary pages, responsive CSS work 2021-09-14 13:05:32 +01:00
rainydaysavings 1498c44e74
[UI][CONTROLLER] Settings page styling almost done. 2021-09-14 13:05:31 +01:00
rainydaysavings 17d737b590
[UI][Mobile][FAQ][ROUTES] FAQ sub pages and routing added, small screen css work started. 2021-09-14 13:05:31 +01:00
rainydaysavings 768607fe98
[UI] Icon assets now work with Symfony asset component, header icon placement fixes 2021-09-14 13:05:31 +01:00
rainydaysavings f3e9671b1a
[UI] Work started on profile settings page. 2021-09-14 13:05:31 +01:00
rainydaysavings 6cf90954dd
[UI][Header] New header implemented. 2021-09-14 13:05:31 +01:00
rainydaysavings ad107542d9
[TWIG][UI] CSS refactoring, containerized twig blocks and settings initial work 2021-09-14 13:05:30 +01:00
rainydaysavings 02ddf96371
[UI][ROUTES] Better use of icons, fixing static pages routing. 2021-09-14 13:05:30 +01:00
rainydaysavings 1989cb481a
[UI][FAQ] Better FAQ organization, removing unnecessary categories. 2021-09-14 13:05:30 +01:00
rainydaysavings 727083ec88
[UI][Mobile][FAQ] FAQ polish, better use of twig, responsive css. 2021-09-14 13:05:30 +01:00
rainydaysavings ecd7aedf0c
[UI][Mobile][FAQ] FAQ sub pages and routing added, small screen css work started. 2021-09-14 13:05:30 +01:00
rainydaysavings aac90a9c9e
[UI] SVG icons added
[TWIG][UI] Header completed
2021-09-14 13:05:30 +01:00
rainydaysavings 9d36861076
[UI][FAQ] FAQ page progress, assets folder and assets added 2021-09-14 13:05:30 +01:00
Hugo Sales 736a1f7012
[ASSETS] Import old favicon.ico 2021-09-14 13:05:25 +01:00
Hugo Sales 596009c924
[DOCUMENTATION] Document All The Things! 2021-09-14 13:04:33 +01:00
Hugo Sales cc72373e3d
[DOCTRINE][SCHEMADEF] Create a new metadata driver to allow us to continue using static schemaDef functions
This has the benefit of requiring fewer code changes, as well as providing a better isolation
between GNU social and symfony, useful in case the framework needs to be changed
2021-09-14 13:01:34 +01:00
Hugo Sales d6bb3e7caa
[DOCKER] Added preliminary docker container 2021-09-14 13:01:33 +01:00
Hugo Sales 4b31c1f48f
[V3] Big Bang
Beginning anew, this time with a modern framework: symfony
2021-09-14 13:01:33 +01:00
Hugo Sales 11154a0d8c
[V3] Big Crunch
And so, just as it begins, so too must it end
One should not dwell and stall, for more is to come
2021-09-14 13:01:23 +01:00
Alexei Sorokin 8079a476b6 Remove "magic quotes" code and avoid wrong order implode
"Magic quotes" were removed in PHP 5.4, no need to mitigate it anymore.

Avoid implode() with the join()-like order of arguments which was deprecated
since PHP 7.4 and implicitly since PHP 5.3.
Also avoid implode() with an implicit separator for stylistic reasons.

mktime() with no arguments has been deprecated since PHP 5.1.
2020-09-15 14:59:27 +03:00
Alexei Sorokin 2ef944d5c4 [UTIL] Sanitise instead of validate in common_copy_args()
And remove common_validate_utf8() which is now unused.
2020-09-15 14:53:35 +03:00
Alexei Sorokin fde929b151 [DATABASE] Switch from PEAR DB to MDB2 2020-09-14 22:46:29 +03:00
rainydaysavings 92ad44abf9 [THEME][neo-quitter] Added icon for Network in navbar 2020-06-03 00:59:22 +01:00
Diogo Cordeiro bb32c0af3b [SensitiveContent] Fix plugin settings
Also reformatted the code and minor bug fixed it
2020-04-07 13:28:29 +01:00
tenma d24075b1c5 [INSTALL] Allow the setup of sslproxy during install time
install.php:
installer.php:
- add option field and handle logic

display.css:
- hardcode ssl's label margin-top value so all options are correctly displayed
2020-03-15 21:37:37 +00:00
Alexei Sorokin e7ab305335 [CORE] Use monotonic time via hrtime() where applicable
The realtime clock is not reliable when calculating elapsed time.
2020-01-07 19:48:13 +03:00
Alexei Sorokin 1f2f57b03b [CORE] Fix logging of very early failures 2019-09-13 12:11:43 +03:00
Alexei Sorokin 1a0d6a90c2 [INSTALL] Fix lib/util/installer.php import path 2019-09-12 11:52:04 +03:00
Miguel Dantas b41f9620fa [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
Diogo Cordeiro e1514a151c [DOCUMENTATION][DEVELOPERS][PLUGINS] Some updates to Plugins doc 2019-08-24 01:59:41 +01:00
Diogo Cordeiro 88bdb5114f [Plugins] Incorporated GNUsocialExtendedProfile as part of ExtendedProfile
Also improved a lot of the plugin and made things in a way it would make sense
2019-08-24 01:59:37 +01:00
Diogo Cordeiro 01cf8ab82c [PLUGINS] Removed GNUsocial{Photo, Photos, Video} as we don't need them anymore 2019-08-24 01:59:36 +01:00
Diogo Cordeiro 66e55d1a1f [BlankAd] Fixed plugin 2019-08-24 01:59:34 +01:00
Diogo Cordeiro 63fac32bc0 [Awesomeness] Fixed plugin 2019-08-24 01:59:34 +01:00
Diogo Cordeiro 0c2c3ec862 [CORE] Plugin API now extends a new Module API 2019-08-24 01:59:33 +01:00
Diogo Cordeiro 8c0601816f [CORE] Move core plugins to a new modules directory
For reference (raised by rozzin in IRC):

* http://foldoc.org/module
* http://foldoc.org/library
* http://foldoc.org/plugin

As noted by XRevan86, modules are not necessarily non-essential.
As we will keep the modules directory in GS root [therefore, near to
plugins/], it is evidenced the difference between both.

This is a simple yet fundamental structural change. It doesn't change
functionality but makes clearer the way we understand GNU social's
internals.
2019-08-22 03:13:58 +01:00
Miguel Dantas 0c20d35206 [Embed] Refactoring and bug fixing 2019-08-03 17:49:09 +01:00
Miguel Dantas 52819d39d9 [OEmbed][Embed] Renamed OEmbed plugin to Embed 2019-08-03 17:48:26 +01:00
Diogo Cordeiro e0bc35b975 [CORE] Avatars are in PUBLICDIR in v2
Fixed a bug in the Installer
2019-08-03 17:47:28 +01:00
Diogo Cordeiro 893bafa14b [INSTALL] Minor reformatting and modernization. Shouldn't change functionality significatively. 2019-08-03 17:47:28 +01:00
Diogo Cordeiro 1049080df5 [CORE] Move public resources to a /public directory
Advantages:
* Increases security by preventing direct access to file/
* We are careful and have a defined('GNUSOCIAL') || die() to prevent
  direct access to GS files, but we may miss one or a vendor/extlib may
  not be as careful
* Improves directory structure - It's more natural to physically
  separate what is public from what are GNU social resources
2019-08-03 17:47:25 +01:00
Diogo Cordeiro 2a06261f75 [CORE][COMPOSER] Move extlib packages with immediate composer correspondent to composer dependencies
This adds a composer.json for all dependencies that are available
2019-08-03 17:47:24 +01:00