Commit graph

45 commits

Author SHA1 Message Date
veselcraft
4c9c650cff
feat(global): news on left menu
Co-authored-by: Slava Petrov <55963296+saursvepur@users.noreply.github.com>
2024-12-20 17:17:40 +03:00
mrilyew
7d450c18fd
feat: ajax, audio refactor (#1164)
* Make audio player pizdatey

* Simple ajax routing (scripts are broken)

* Fix most common script problems pt1

* Add ajax player

Осталось пофиксить скрипты и создание плейлистов! Ну и ещё некоторые хуйни по аудиозаписям которые я задумал.

* Add context menu for audios

* Refactor audio upload page

* Repair playlists

* Fix main problems

* Midnight teme adaptation

* Stupid bug fix

* Save audios list in da localstorage and fix msgbox

* Fix time setting

* add beforeUnload event

* Stupid bugs fix

* update page footer on transition

* fix wall publihing

* fix 500 on non existent page
2024-12-07 17:18:29 +03:00
mrilyew
73a067a0c5
feat: ajax infinite scrolling (#1141)
* rewrite

* allow comments scroll

* rework to up button

* add posts scrolling function and ability to disabl

* cloudflare bypass (do not uncomment)
2024-11-22 16:31:07 +03:00
mrilyew
b9687b1fb2 fix(api): do not go online on every call 2024-11-19 16:39:05 +03:00
e813549602
fix: solve some warnings
Notifications.php: make $count parameter explicit as it is placed before
another explicit parameter
OpenVKPresenter.php: add additional null checks
Themepacks.php: add return type to offsetGet
2023-12-11 13:15:01 +03:00
lalka2018
f57a470c5d Fix gifts template (stolen from #512) 2023-10-28 14:37:28 +03:00
Jill
6159262026
Add reports (#634)
* Reports: [INDEV] Undone implementation of reports

* Reports: Backend is done

* Reports: Still makin it...

* Reports: Added report window

* Reports: Corrected the content type

* Reports: Make it work

* Reports: Minor fixes and localization

* Reports: Ability to hide Share and Like buttons

Also renamed the .sql file

* Revent some changes from 8f8d7bb

I will move them to the master branch

* Reports: Only for those who can access Helpdesk

* Reports: Modified the route

* Reports: Change the routes

* Reports: Show reports count

* Report: Fix URL

* Обновление репортов (#715)

* Репорты живы

* 2

* Better reports

* Логи

* Update DBEntity.updated.php

* noSpam

* Сбор IP и UserAgent + фикс логирования в IPs

* Новые поля для поиска etc.

* Fixes

* Fixes and enhancements

* Поиск по нескольким разделам

* Reports enhancements

* Совместимость с новыми логами

* Совместимость с новыми логами

* Update Logs.xml

* Update Logs.xml

* Logs i18n

* Update Logs.xml

* Update AdminPresenter.php

---------

Co-authored-by: veselcraft <veselcraft@icloud.com>
Co-authored-by: Ilya Prokopenko <55238545+Xenforce@users.noreply.github.com>
Co-authored-by: n1rwana <aydashkin@vk.com>
2023-08-11 16:50:19 +03:00
n1rwana
8265dc0fc6
Add logging system (#940)
* Логи

* Update DBEntity.updated.php

* Сбор IP и UserAgent + фикс логирования в IPs

* Fixes

* Совместимость с новыми логами

* Update Logs.xml

* Logs i18n

* Update Logs.xml

* Update AdminPresenter.php
2023-08-11 16:43:39 +03:00
veselcraft
462d667e53
Global: Implement showing platform 2022-12-17 02:03:02 +03:00
veselcraft
d8a8dd920a
Global: add mobile theme support for dumbphones
By setting defaultFeaturePhoneTheme, you can enable very basic html theme for old phones, like Nokia 6680 or iPhone 3GS. I'm currently making this theme, but it would take a time to make it ofc
2022-10-11 13:42:48 +03:00
n1rwana
753be2aaff
Maintenance (#719) 2022-09-17 00:19:46 +03:00
celestora
1a4696da91 Don't update last visit date for deleted and banned users
Fixes #665
2022-08-19 17:04:24 +03:00
Ilya Prokopenko
200414b67d
Use redirect() instead of header("Location: ...") 2022-08-09 12:52:36 +07:00
Ilya Prokopenko
b1ce106e4c
Profile deactivation function (#626) 2022-08-05 23:00:52 +03:00
Maxim Leshchenko
fe2010560a
Global: Make code more consistent with code style 2022-05-08 12:11:18 +02:00
Celestora
8b3917e863 Add X-Accel-Expires for non-authorized users 2022-04-04 16:43:40 +03:00
celestora
0cd75a5a3d
Add X-OpenVK-User-Validated header 2022-04-04 15:01:12 +03:00
veselcraft
ba360888a4
Email: Bring back timezone fix 2022-01-31 15:55:11 +03:00
veselcraft
1df0545061
[WIP Maybe] Email: Add verification mechanism
This does work only if email is required by instance. If you're sysadmin, you can configure it in openvk.yml.
2022-01-31 14:45:53 +03:00
Maxim Leshchenko
dcd18d266f
Users: Do not constantly reload the page about the user's ban
Closes #440
2022-01-28 18:11:58 +02:00
Ilya Prokopenko
22157c7fa3
[SECURITY] Deny login to a deleted account 2022-01-27 14:01:27 +03:00
veselcraft
7baa4cf20a
Global: Add a date adaptation to the user's timezone
Closes #170
2022-01-22 15:54:57 +03:00
celestora
57e2cd3152
Fix typo in OpenVKPresenter::setSessionTheme
Absence of dollar sign led to condition being always evaluated to true, regardless of arguments passed. Le bug broke behaviour of session themes.
This patch fixes #428
2022-01-19 18:19:56 +02:00
veselcraft
8e07a59172
Themes: Autodetect Mobile and Desktop platforms
Check out openvk-example.yml to set up default mobile theme (if u have one)

I also changed the function's name and added a 'once' boolean arg which means the theme will be set for only one page

Also closes #402 and #403
2022-01-16 23:15:33 +03:00
Maxim Leshchenko
02e41e19b4
Support: Use pagination in the user's ticket list 2022-01-07 00:59:51 +02:00
Maxim Leshchenko
0a6ce0ffc0
Users: Do not delete subscriptions when banned for flood requests
It wasn't cool
2021-12-25 22:32:15 +02:00
Maxim Leshchenko
566759327e
AJAX: Add some code that can be reused to display AJAX request errors
Also use this to add groups to the left menu
2021-12-25 18:11:05 +02:00
Maxim Leshchenko
a31655cf2d
Users: Translate strings associated with a ban
Also fix the logout from the banned account
2021-12-13 16:37:43 +02:00
Celestora
d8b37366cb Fix theme inclusion regression for themes that do not override templates 2021-12-12 16:08:38 +02:00
Celestora
e73857cdc3 Make "themePreview" work correctly with themes that override templates 2021-12-12 15:11:44 +02:00
Maxim Leshchenko
910e604630
L10n: Translate errors in OpenVKPresenter 2021-12-10 19:21:25 +02:00
Maxim Leshchenko
8fd09a7846
Fixup "Support: Display the number of unanswered tickets in the left menu"
Excuse me :3
2021-12-05 00:56:42 +02:00
Maxim Leshchenko
7f4dabef4b
Support: Display the number of unanswered tickets in the left menu 2021-12-04 22:15:13 +02:00
veselcraft
c6ab5b0ac5
Xmas: Custom header and xmas is activated after 1 december 2021-12-01 23:12:05 +03:00
veselcraft
478f8f9368
Support: Indicator for answered tickets for user
Fixes #187
2021-11-27 12:24:34 +03:00
veselcraft
44893ff40f
Themes: Hot fix for unauthorized users 2021-11-07 00:30:35 +03:00
veselcraft
1dff89972e
Themes: Now you should not reload page twice after changeing theme
Also added a setTempTheme global presenter function
2021-11-06 23:43:48 +03:00
Celestora
0acad2066f Add skinning ability via override_templates themepack option 2021-09-16 20:24:03 +03:00
root
7f1a5f2354 User: Now the User's page can be marked as Deceased. And now the user can be Incognito (at least, admins)
To mark the page as Deceased, type  in  field in Database. To be Incognito, type  in  field.

Specially for deceased drbream
2021-09-11 01:33:45 +03:00
Alma Armas
0bdca7a0ff Make sidebar login redirect back 2021-01-27 18:00:30 +00:00
Alma Armas
2f09e32b1e Add rate limiting feature
Co-authored-by: Rempai <kitsuruko@gmail.com>
2020-12-31 21:19:58 +00:00
veselcraft
6d389537e3 [FIX] Xmas header does not shows up for guests 2020-12-29 12:24:17 -05:00
veselcraft
2f76cbf7e2 [ADDITION] Xmas header
Xmas theme will be applied from 15 December to 15 January

Themes supports xmas modifications too, just put your "xmas.css" file in the same folder as "styles.css" there
2020-12-28 17:39:55 -05:00
Alma Armas
e4787750fa Modify OpenVKPresenter::hasPermission 2020-07-17 16:25:08 +00:00
Jill Stingray
db845c3c0b Initial commit 2020-06-07 19:04:43 +03:00