Releases: Aaron-Junker/USOC
Pb2.4Bfx3
Fixed GHSA-557p-hhpc-4wrx
Pb2.4Bfx2
Fixed a sql injection security bug
Pb2.4Bfx1
Pb2.4Bfx1
Fixed bugs
- Some debug function were still in the image plugin
Pb2.4Bfx0
Pb2.4Bfx0
Hotfix: https://github.com/Case-Games/USOC/releases/Pb2.4Bfx1
- Install please the hotfix linked above
Install instructions: https://github.com/Case-Games/USOC/wiki/manual%3ADownload-and-install-USOC
USOC now supports PHP8. Through a backwards compatibity script it still supports PHP7.4.
The PHP7.4 support ends in the summer of 2020
We moved all files from the root folder to
docs
and all from thesite
folder to the root folder!
Additions
- Added a beautiful installer
- Removed install.html
- Added a hint in the admin area if the install folder still exists
- ID selection on admin/pages/useredit.php now only allows range from lowest id to highest id
- Added return declarations to functions
- Added a backwards compatibility script
- Backward compatibility functions:
string_starts_with();
string_ends_with();
string_contains();
- PHP8.0 <-> PHP 7.4
- Backward compatibility functions:
- Added new content system for plugins
- Added a new plugin system
- New function:
$U->addPage(string $content, string $name, string $code, int $authorID, string $date, int $online):bool
- Allows to add a new content page
- New function:
$U->addPage(string $content, string $name, string $code, int $authorID, string $date, int $online):bool
- Allows to add a new content page
- Added a
plugin
folder - Added infos about installed plugins on the about page
- You can now upload files with plugins
- More Information: Wiki
- New function:
- New function
$U->editSetting(string $name, string $value):bool
- Added image folder
- Added Case Games logo
- Added load image
- Added icofont folder
- Added Subfolders to the includes folder
- In the
JS
folder are various JavaScript scripts- Added a Script that displays information in the JavaScript console
- Gets implemented in a further version
- Added a Script that displays information in the JavaScript console
- In the
SettingsAssets
folder are the assets for the new settingseditor page in the Admin area- The files get splited up in a further version
- Please note, that you can't include files, which aren't in th JS folder, with HTML, you must include them with PHP
- In the
- Added a settings overview page in admin area
- You can change settings now better
- The old settings menu is now in an other order on the overview page
- Added icons to the Admin area main page
- You can add now
/raw/
to the beginning of an URL to get the raw page. For example:localhost/raw/index
- New option:
2fa.enabled
- Sets if users can use 2fa or not
- If you turn off users also don't get asked for the authenticator code
/login
folder has now as fallback resource/login/login.php
- Added vendor folder and the composer file works now
- Added
robots.txt
- Added information about new versions in the about page
- New function
$U->getNewestVersion():array
- Returns information about the newest version from GitHub
- New function
$U->versionNameToCode(string $name):int
- Returns the version identifier code from version $name
- New function
- Added image plugin
- Read readme.md for install and use instractions
Changes
Code in the database is now saved encoded with
html_special_chairs()
. This doesn't get done by$U->addPage()
or$U->editPage()
. To repair your pages just open them in the editor and save them again
- Plugin System
- Deleted
/admin/pages/blogeditor.php
and/admin/sendsiteblog
- You must now choose the contetn type on the adminarea mainpage to delete a page
- Plugin system in all editors implemented
- Deleted
- Renamed
register_open()
toisRegisterOpen()
isRegisterOpen()
checks now if user is logged in- Renamed placeholder variable
$zeile
to$row
- Changed older PHP7.4 functions to PHP8.0 functions
- Renamed
$U->version_code
to$U->versionCode
- Content page names are now all stored lowercase
- Changed logo source from data URL to fix URL
- Changed behavior of register and login system
- If setting "login.login_open" is 0
- You can now login if you are an administrator in the admin area
- You also can't register new users now
- In the admin area you can now only login with an admin account
- If setting "login.login_open" is 0
- New admin area login style
- The "Change password" button in the menu is now hidden if
login.changepassword
is off $U->getLang()
returns now also the english string if the translated string is ""- Removed ability on
admin/2fa.php
to delete or add secret keys - Better styled install.html
- When you add an Google Account you get now redirected to the main page
- User editor
- Added a user search function
- You can't edit yourself now
- Shows now an error if the user doesn't exists
- 2fa
- Code input is now styled and in
login.php
- You can now cancel code input
- You can not login with a other account if you haven't finished login yet
- Code input is now styled and in
- Chenged order of items on
about.php
- Better visible menu items in dark mode when hovered
Fixed bugs
Fixed security bugs
- You can access wrong files from admin area
Other bugs
Fixex the whole oAuth system
- Changepassword.php can be accessed even when not logged in
- Wrong string when registration is closed
- You can register a new account when you're logged in
- You can save a page even when it already existed
- Some functions were declared they give back mixed but they have a type.
- URL'S parsed by page.php could contain false URL's
- False setting search in register.php
- register.php can't be displayed
- Javascript info banner always on log off screen
- "Back" link doesn't work in
admin/pages/settingseditorsend.php
- Mobile view doesn't look good on some browsers because it has forced scrollbars
oAuth.google.client_id
setting didn't have a typeoAuth.google.client_id
is doubled- Headers in profile settings aren't in the right size
- Google oAuth client id wasn't variable in
login.php
login.php
checks for the wrong oAuth google file- The user editor didn't show translations just "%a" and "%b"
- Useless string replace in
login.php
- String for wrong login is not translated
- Error messages have a wrong margin
- No real dark mode for error messages
- Buttons had no margin
- Adminarea about page has no title
- You can see older codes on the 2fa code input¨
- Working logout
Pb2.3Bfx0
Pb2.3Bfx0
Additions
- You can access the database connection from $U->db_link
- Added link in the admin area to the about page
- Added link to register.php in sitemap
- Added simple style for printing
- You can now delete pages in the adminarea
- New function
bool $U->deletePage(string $table, string $name)
-
- $table: The table the page is stored ("Blog" or "Sites")
-
- $name: The name of the page
Changes
- Removed install files
- Adjusted the CSS files to the new Code Conventions
Fixed bugs
- Syntax error in logout.php*
- Fixed bug in getLang.inc.php that don't let you see the english translation if no other is available
- Removed .htaccess in admin/ckeditor because the editor couldn't load anymore
- Fixed too big logo in admin/pages/about.php
- Wrong link to login.php in sitemap.php
- Wrote licence instead of license
- Wrong translations in blogeditor
- No fallback on blogsites if no blog article is saved
Pb2.2Bfx0
Pb2.1Bfx0
Additions
- Added more documentation in login folder
Changes
- Edited some little things in login/login.php
- Edited some little things in login/register.php
- The version in admin/pages/about.php is now readed from the class
Fixed bugs
- No translation in the title of the mainpage of the adminarea
- Fixed a little security bug in login/login.php
- Changed some misplaced session_start() #51
- No traslated back on admin/pages/about.php
- Fixed bugs in admin/login.php and admin/2fa.php
- Some include_once "konfiguration.php" existed
Pb2.0Bfx1
Fixed Bugs
- Version named Pb2.0Bfx0 instead of Pb2.0Bfx0RCA
Pb2.0Bfx0
Pb2.0Bfx0RCA
This Version isn't backward compatible to older versions
The install wizard doesn't work.
This is a release Candidate version. Issues will be tracked in #49
Additions
- Added better class system
- Added HTTP-Errors 400, 405, 410, 414, 423
- Added experimental information to installer.
Changes
- Better organisation of code
- Renamed profil.php in profile.php
- Added more documentation to code
- Moved blogsite, index and HTTP-Errors to page.php
- Added all translations
- Updated files to new code conventions
- Changed de.gravatar.com to gravatar.com
Removed
- Removed is_there_usoc.json
- /errors/*
- blog.php
- blogsite.php
- option for a hash
Fixed bugs
- #48
- And other