Commit graph

678 commits

Author SHA1 Message Date
0x7d5
f58464a1e3 Admin: Added tabs in section club 2021-09-13 18:47:10 +05:00
0x7d5
c35f06e9e7 Admin: Added csrf-token 2021-09-13 10:42:04 +05:00
Ilya Prokopenko
dd307f29c2
Invite: normal implementation
Co-authored-by: celestora <kitsuruko@gmail.com>
2021-09-13 10:22:05 +07:00
Ilya Prokopenko
62b099fdd7
Layout: added a link to admin panel in the navigation menu 2021-09-12 10:43:25 +07:00
veselcraft
f935cb255b Localization: Added a info about German translation's author 2021-09-11 23:35:00 +03:00
veselcraft
4391dc88e4 Localization: Bring back German to the Language switch page (#88 from SamyoFox uwu) 2021-09-11 23:23:23 +03:00
0x7d5
ec24de251e
Add files via upload 2021-09-12 00:37:05 +05:00
0x7d5
ba7a0d711a
Update AdminPresenter.php 2021-09-12 00:36:17 +05:00
Ilya Prokopenko
016b8230da
I'm an idiot lol 2021-09-11 23:25:57 +07:00
Ilya Prokopenko
658f054b3a
hotfix: thisUser -> user 2021-09-11 23:13:14 +07:00
Ilya Prokopenko
b66bac7746
Admin: show the login as button only with certain rights 2021-09-11 23:11:06 +07:00
veselcraft
8369857e17 Admin: Implementation of user editing 2021-09-11 17:39:14 +03:00
veselcraft
10d2d6ed44 Admin: Fixed the critical error that was been caused by outdated function findCount() 2021-09-11 13:35:27 +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
root
348a4d127a Version.xml: Added a info about author of Armenian translate 2021-09-11 01:15:01 +03:00
Vladimir Barinov
def51b5fc5
Fixed a typo that was made by @apeeh inn Language.xml
lol
2021-09-06 19:30:34 +03:00
Vladimir Barinov
86397161eb
Added a Armenian flag (#82) 2021-09-06 19:26:27 +03:00
apeeh
854ad5def7
Update Language.xml
Adding Armenian language link
2021-09-06 20:22:07 +04:00
samukhin
c2afd7f1f2
Add Docker (#77) 2021-05-14 19:06:35 +03:00
Celestina Rempai
574f4918e5 Fix avatar erros 2021-02-06 20:38:39 +00:00
944d68494f
Fix OVK logo (#68) 2021-01-29 15:30:45 +02:00
Alma Armas
d9fbe6f7aa lol forgot file 2021-01-27 18:05:29 +00:00
Alma Armas
0c80f1f041 Util: EntityStreams now accepts FQCNs if they're prefixed with \ 2021-01-27 18:01:18 +00:00
Alma Armas
0bdca7a0ff Make sidebar login redirect back 2021-01-27 18:00:30 +00:00
Alma Armas
080e918f11 Unread messages stub 2021-01-27 17:59:11 +00:00
Alma Armas
1d46bbb6d6 Refactor albums 2021-01-27 17:41:21 +00:00
Alma Armas
1e5f3f395b Fix microblog 2021-01-27 17:40:37 +00:00
Alma Armas
16f1b22ecb Refactor albums 2021-01-27 17:39:15 +00:00
Alma Armas
49a9a9bdb1 Merge branch 'master' of https://github.com/openvk/openvk 2021-01-17 11:57:12 +00:00
Alma Armas
9fb59faba7 Add HTMLPurifier as a composer dependency
Co-authored-by: rem-pai <kitsuruko@gmail.com>
2021-01-17 11:55:43 +00:00
veselcraft
b494368585 Delete notes func 2021-01-16 18:19:54 -05:00
veselcraft
b08c33e092 Now Notes and Albums cannot be created with empty title 2021-01-16 17:45:49 -05:00
veselcraft
ad2e5ec8cc [PROFILE EDIT] Phone field will be hidden if Zadarma is disabled in config 2021-01-16 17:30:29 -05:00
veselcraft
40c24a69af [COMMENTS] Unicode symbol -> Image 2021-01-16 17:29:21 -05:00
Defenders08
358c56669b Update microblog.css 2021-01-15 11:44:47 +02:00
Defenders08
3dc95eb5ff Add files via upload 2021-01-15 11:44:47 +02:00
rem-pai
2e124ee757
Calculate ID correctly in Video/Edit template
Fixes #37
2021-01-10 01:52:52 +02:00
veselcraft
a9b8f8d592 [MICROBLOG] Design fix
this looked ugly imo
2021-01-07 20:16:03 -05:00
Alma Armas
0df783705e Fix broken pagination on group followers page 2021-01-07 16:50:26 +00:00
Alma Armas
92c9320eae Change SMS provider
Co-authored-by: Celestine <34442450+rem-pai@users.noreply.github.com>
2021-01-07 16:25:09 +00:00
Alma Armas
aed731a59f [SECURITY] Fix IP-based rate-limiting
Co-authored-by: Celestine <34442450+rem-pai@users.noreply.github.com>
2021-01-07 16:23:24 +00:00
Alma Armas
343315a858 Log registering IP
Co-authored-by: Celestine <34442450+rem-pai@users.noreply.github.com>
2021-01-07 16:22:52 +00:00
Alma Armas
fc9df5624b Add NSFW CW back
Co-authored-by: Celestine <34442450+rem-pai@users.noreply.github.com>
2021-01-07 16:19:36 +00:00
Alma Armas
9132eb8d98 Get rid of music
Co-authored-by: Celestine <34442450+rem-pai@users.noreply.github.com>
2021-01-07 16:17:19 +00:00
Alma Armas
10f71889ad Merge branch 'master' of https://github.com/openvk/openvk 2021-01-04 18:01:21 +00:00
veselcraft
02ff93a352 [FIX] Divider is no longer needed 2021-01-04 13:00:57 -05:00
Alma Armas
e5453738b5 Merge branch 'master' of https://github.com/openvk/openvk 2021-01-04 17:55:12 +00:00
veselcraft
b0a843f17a wait i am retarded 2021-01-04 12:54:57 -05:00
Alma Armas
e790118ecf Merge branch 'master' of https://github.com/openvk/openvk 2021-01-04 17:52:14 +00:00
veselcraft
051b7d7434 [FIX] Using ISO-8601:1988 year standard (%g) instead of dividing year by 100 (%G) 2021-01-04 12:50:41 -05:00
Alma Armas
5f8c4ed248 Merge branch 'master' of https://github.com/openvk/openvk 2021-01-04 17:38:35 +00:00
Alma Armas
8b1bc4b894 [FIX] HTTPS errors in Tracy 2021-01-04 17:38:17 +00:00
veselcraft
057e6c5c63 [NEW FEATURE] Microblog
Can be enabled in settings
2021-01-04 12:33:25 -05:00
veselcraft
b88012b17b No longer using openvk2.veselcraft.ru domain (now it redirects to my tt lol) 2021-01-04 06:43:55 -05:00
veselcraft
5291fa345e [FIX] Empty space on wall's header when user can't post smth 2021-01-02 08:01:28 -05: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
Ilya Prokopenko
84ff656d32
Update Version.xml (#2, #3, #8, #9 and #14) 2020-12-28 14:15:51 +07:00
veselcraft
bb5cfb5918 Merge branch 'master' of https://github.com/openvk/openvk 2020-12-27 19:01:52 -05:00
veselcraft
a3406737dc [LOCALIZATION] Addition to Group pages 2020-12-27 19:00:57 -05:00
rem-pai
4f3ccc1414
Add copyright disclaimer to version page 2020-12-27 20:51:03 +02:00
Ilya Prokopenko
42684347bd
Update Version.xml 2020-12-26 17:42:52 +07:00
veselcraft
fce8eff351 "new post" layout fix 2020-12-26 03:14:43 -05:00
veselcraft
4507c8cb33 fix hidePanel's count argument 2020-12-26 03:06:20 -05:00
veselcraft
c07576188d new wall's textarea 2020-12-25 17:57:44 -05:00
Alma Armas
2ed60763a1 Refactor search 2020-11-22 10:29:27 +00:00
Alma Armas
7314f369af Add themepack option to not inherit default themepack styles 2020-11-22 10:06:49 +00:00
veselcraft
1e5e9d7080 localization parser fix
Co-authored-by: Jill Stingray
2020-10-31 19:00:33 -04:00
Alma Armas
efa031bcca Fix note creation 2020-10-04 06:51:43 -07:00
Alma Armas
a608ebc1a7 Always return absolute URLs for avatars 2020-09-29 13:03:55 -07:00
Alma Armas
a67241c5da [WIP] Remove hack from WallPresenter 2020-09-29 13:02:33 -07:00
Alma Armas
c193edc3d4 Correct CORS behaviour for API routes 2020-09-29 13:02:04 -07:00
Alma Armas
3fa401bf5d Add valid CORS header to longpool emulator 2020-09-29 13:00:59 -07:00
Alma Armas
b2f069f75f Make DateTime compatible with Windows 2020-09-29 12:59:59 -07:00
Alma Armas
05b7061471 Add Access-Control-Allow-Origin header to API 2020-09-12 08:11:00 +00:00
Linus Torvalds
65e4c163cb Restrict maximum posts per page to 50 in global and local feed 2020-08-25 15:44:06 +00:00
Alma Armas
e50aa27eeb Fix hyperlinker 2020-08-24 11:37:47 +00:00
Defenders08
bf4a1226a6
Fix .page_wrap & .container_gray (#7) 2020-08-23 13:32:56 +02:00
Defenders08
0ebbe8e57f
Tabs and arrows UX enhancements
Porting Ash's UI/UX patches to mainline repo
2020-08-22 23:02:45 +02:00
Defenders08
6d9325948c
Merge Ash's style patches 2020-08-21 17:10:45 +03:00
Defenders08
b101150659 Update style.css 2020-08-21 16:27:00 +03:00
veselcraft
6f9a1065d9 Localization Supplement 2020-08-20 17:10:18 +03:00
veselcraft
fdc58c4185 Localization Supplement 2020-08-20 17:05:00 +03:00
Alma Armas
fdb8b35609 Add post size limits 2020-08-20 12:58:40 +00:00
Alma Armas
524d531c4f help 2020-08-20 12:32:57 +00:00
veselcraft
de778a283e [FIX] Images for reputation 2020-08-20 15:22:32 +03:00
Alma Armas
efef446220 Make eventdb optional 2020-08-20 09:03:45 +00:00
Alma Armas
512f21c1a8 [IMPORTANT] Fix critical bug in EntityStream 2020-08-17 14:23:16 +00:00
Alma Armas
30ad9d11f5 Add yuni to QA team back 2020-08-17 14:03:28 +00:00
Alma Armas
6f901fdf5a Fix undefined variable error 2020-08-17 14:02:42 +00:00
Alma Armas
bc7a068581 Remove jokes from 'Finances' tab 2020-08-17 14:02:21 +00:00
Alma Armas
e18a661507 [WIP] Add VK API compat layer 2020-08-12 11:39:06 +00:00
dsrev
73ae87d580 Some fixes in Version.xml 2020-08-10 08:05:33 +03:00
fkwa
9dd55c4453
Update version colors to reflect new logo design 2020-08-04 17:14:22 +03:00
MoccoCoffee
b050f43532
Add Latin Belarusian, update current Belarusian name
no need to explain. X)
2020-08-02 13:27:45 +03:00
Alma Armas
2e47732030 Add Themepack::getBaseDir 2020-08-01 14:30:29 +00:00
Alma Armas
37c5ef26e6 oops i forgot to update sql file 2020-08-01 14:30:08 +00:00
Alma Armas
a251e3c3a7 Add VK longpool event stream logic (no route) 2020-08-01 14:29:22 +00:00
Alma Armas
9303dd6562 Modify search to use EntityStream 2020-08-01 14:27:10 +00:00
Alma Armas
82af3a27cc Begin refactoring Correspondence::getMessage to be compatible with VK API 2020-08-01 14:24:39 +00:00
Alma Armas
9dc25aa938 Refactor Messages::getCorrespondence 2020-08-01 14:23:43 +00:00
Alma Armas
f235338d69 Add Postable::getLastComments 2020-08-01 14:23:08 +00:00
Alma Armas
98045ec121 Add club managers logic to Club model 2020-08-01 14:22:52 +00:00
Alma Armas
abed81cea9 [IMPORTANT SECURITY] Fix CSRF in quickban and quickwarn 2020-07-18 08:14:30 +00:00
Alma Armas
1cfb680a2c Modify Correspondence::sendMessage behaviour because current behaviour is useless and confusing 2020-07-18 07:47:42 +00:00
Alma Armas
59f831a3f4 Alias /donate to knowledgebase 2020-07-17 17:56:33 +00:00
Alma Armas
0b16ff3375 Add quickwarn 2020-07-17 16:39:34 +00:00
Alma Armas
af6eeb882c Add quickban button for admins 2020-07-17 16:26:59 +00:00
Alma Armas
fafc3b4fb9 Fix MessageBox bug which caused dialog to close on button press without invoking handler 2020-07-17 16:25:55 +00:00
Alma Armas
e4787750fa Modify OpenVKPresenter::hasPermission 2020-07-17 16:25:08 +00:00
Alma Armas
d8db273f20 Fix tables in search 2020-07-16 20:11:31 +00:00
Alma Armas
e3527065ad Fix profile name box geometry 2020-07-16 20:10:57 +00:00
Alma Armas
1cc7e68424 Fix post indentation 2020-07-16 20:10:24 +00:00
Alma Armas
9a99aeb3fc Make support agents identifiable 2020-07-16 20:09:48 +00:00
Alma Armas
606a61c7b3 Remove duplicate method call 2020-07-16 20:08:46 +00:00
Alma Armas
3c885d5cd5 I broke something and had to merge :< 2020-07-15 12:33:01 +00:00
Alma Armas
5b86b1fab7 Rate limit certain notifications
Likes and reposts will not emit notifications more than once per 2 minutes
2020-07-15 12:32:34 +00:00
dsrev
6f5cfa1aa1 Hidden a deletion of the page from the settings for now 2020-07-15 09:29:49 +03:00
Alma Armas
342429b505 Revert messages revamp 2020-07-13 09:33:20 +00:00
dsrev
e5e2aeb9a3 Added a new route 2020-07-13 09:17:16 +03:00
dsrev
6f24f6ee5e Fixing issues (?) on some pages 2020-07-13 06:57:28 +03:00
Ilya Prokopenko
c1cd5e2a9a
Update Version.xml 2020-07-11 12:32:19 +07:00
Alma Armas
393313cd16 Re-add scroll to messages 2020-07-10 06:45:09 +00:00
Alma Armas
150f420038 Change messages style to more old
Co-authored-by: Kos Furler <35310076+kosfurler@users.noreply.github.com>
2020-07-08 11:10:40 +00:00
Alma Armas
5bc9f7ff58 Multiple user profile page layout improvements
Co-authored-by: Kos Furler <35310076+kosfurler@users.noreply.github.com>
2020-06-29 20:12:57 +00:00
Alma Armas
f34e0ea88a Remove 'mark as NSFW' feature for posts
Co-authored-by: Kos Furler <35310076+kosfurler@users.noreply.github.com>
2020-06-29 20:05:20 +00:00
Alma Armas
e3fdf75b26 Add smooth spoiler animations
Co-authored-by: Kos Furler <35310076+kosfurler@users.noreply.github.com>
2020-06-29 20:03:18 +00:00
Alma Armas
1afac87ee9 Add jQuery2 as dependency 2020-06-29 20:00:48 +00:00
Alma Armas
2095669665 Make KB article list text color black 2020-06-29 19:53:57 +00:00
Alma Armas
f9e0815455 System albums are now hidden for clubs only 2020-06-29 19:53:19 +00:00
Alma Armas
d9b7b47a37 Fix pagination in albums 2020-06-29 19:51:59 +00:00
Alma Armas
6cb36548fc Update styles 2020-06-29 19:47:48 +00:00
Jill Stingray
029b49dbd4 Fix layout + add jQuery
Co-authored-by: Kos Furler <35310076+kosfurler@users.noreply.github.com>
2020-06-26 09:32:30 +00:00
Jill Stingray
7d4fa2886b Use twemoji 2020-06-26 09:30:15 +00:00
Jill Stingray
213c5410a2 Fix error, that mutilated post if it had multiple same emojis (OVK-113) 2020-06-26 08:36:56 +00:00
Jill Stingray
7d8947eaeb Fix broken layout on video view page 2020-06-25 12:09:55 +00:00
Jill Stingray
62f9467179 Make likes more VK-styled
Co-authored-by: Kos Furler <35310076+kosfurler@users.noreply.github.com>
2020-06-25 12:09:15 +00:00
Jill Stingray
a032ba09d2 Make notes soft-deletable 2020-06-24 20:20:25 +00:00
Jill Stingray
2fdc8a540c Update path to node_modules 2020-06-24 15:26:16 +00:00
Jill Stingray
65cd0e93df Fix video pagination 2020-06-24 15:25:43 +00:00
Jill Stingray
f2d25dfae5 Remove jokes from settings 2020-06-23 20:06:55 +00:00
Jill Stingray
11b4f0b16a Fix bug that corrupted DB after post deletion 2020-06-23 20:06:15 +00:00
Jill Stingray
48a2040322 Fix fatal error when changing username
I forgot name of DatabaseConnection class xddd
2020-06-23 20:05:13 +00:00
Jill Stingray
1b3052869f Fix video uploads 2020-06-23 20:04:17 +00:00
Jill Stingray
6bf1c9bb29 Fix search 2020-06-23 20:02:52 +00:00
Jill Stingray
b7c914f35d Clarify some values in version screen 2020-06-23 20:01:53 +00:00
fkwa
0f89de3011
Fix address collision 2020-06-20 10:57:21 +02:00
fkwa
40fae8d4da
Post deletion fix :DDD 2020-06-19 16:08:01 +03:00
Jill Stingray
20ba764f22 Add post deletion
Co-authored-by: vovocka <22993408+veselcraft@users.noreply.github.com>
2020-06-18 14:22:32 +03:00
Jill Stingray
026b9895b5 Add video delete button
Co-authored-by: vovocka <22993408+veselcraft@users.noreply.github.com>
2020-06-18 14:21:10 +03:00
Jill Stingray
94cd52ccf5 Add video deletion
Co-authored-by: vovocka <22993408+veselcraft@users.noreply.github.com>
2020-06-17 22:04:08 +03:00
Jill Stingray
6d603d2f5c Make version page more informative and red 2020-06-16 17:15:36 +03:00
Jill Stingray
e02e95f648 Add aliases for default upload processing mode 2020-06-16 17:14:05 +03:00
Jill Stingray
bb5c6f2d5b Cleanup old pages 2020-06-16 15:39:10 +03:00
Jill Stingray
93909c7444 Add knowledgebase 2020-06-16 15:38:32 +03:00
Jill Stingray
112bf4b8d4 Make name of support configurable 2020-06-15 21:33:04 +03:00
Jill Stingray
6aafb23fb7 Seal admin panel 2020-06-15 21:25:55 +03:00
Jill Stingray
01f3b4d8c5 Fix avatar styles support 2020-06-15 21:24:51 +03:00
Jill Stingray
4fba9da177 Remove old debug file 2020-06-15 21:24:31 +03:00
Jill Stingray
2a74ccc187 Add scroll in messages 2020-06-15 21:18:23 +03:00
Jill Stingray
cf6cda260d [IMPORTANT SECURITY] Fix critical directory traversal vulnerability in file seeding mechanism 2020-06-14 18:43:23 +03:00
Jill Stingray
02dd373460 [IMPORTANT SECURITY] Fix critical directory traversal vulnerability in theming mechanism 2020-06-14 18:37:06 +03:00
Jill Stingray
ad89b0a5e2 Add different avatar styles support back 2020-06-14 14:09:41 +03:00
Jill Stingray
c18ceae61c Allow disabling themes 2020-06-14 14:08:50 +03:00
Jill Stingray
1bf97880e8 Cleanup old themes 2020-06-11 23:27:47 +03:00
Jill Stingray
d509096d46 Add themepack support 2020-06-11 23:21:49 +03:00
Jill Stingray
3eb5b6b4fc Fix spacing in WallPresenter.php 2020-06-11 23:18:05 +03:00
Jill Stingray
eba579046e Make messages capable of holding attachments 2020-06-11 12:55:43 +03:00
Jill Stingray
095b7960ca Fix short addr collision 2020-06-11 12:54:20 +03:00
Jill Stingray
fe13bbfdb8 Add microtransactions 2020-06-11 12:53:01 +03:00
Jill Stingray
e0e2d78ab8 Add global feed 2020-06-11 12:51:12 +03:00
Jill Stingray
0049dbc5c7 Fix video upload 2020-06-11 12:50:23 +03:00
Jill Stingray
6c872cdeca Fix album in newer browsers 2020-06-09 13:29:07 +03:00
Jill Stingray
fce3786634 Fix overflow in messages 2020-06-09 13:00:46 +03:00
Jill Stingray
038210cb94 Fixed post overflow issue 2020-06-09 12:45:32 +03:00
kfcjew
774f041035
Add Ash themes 2020-06-07 21:42:30 +03:00
Jill Stingray
db845c3c0b Initial commit 2020-06-07 19:04:43 +03:00