Commit graph

725 commits

Author SHA1 Message Date
Celestora
608c34815e Add photo miniatures creation logic to Photo::saveFile 2022-04-05 14:10:31 +03:00
Celestora
f707c72f07 Cache image resolution in database 2022-04-05 11:38:19 +03:00
celestora
0c2d3844bc
Fix padding bruh momento with notes 2022-04-04 20:13:24 +03:00
Celestora
8b3917e863 Add X-Accel-Expires for non-authorized users 2022-04-04 16:43:40 +03:00
celestora
3281cd0c1b Restrict search to authorized users and add ratelimit
Searching is heavy, additional measures to prevent abuse must be taken.
2022-04-04 15:15:52 +03:00
celestora
0cd75a5a3d
Add X-OpenVK-User-Validated header 2022-04-04 15:01:12 +03:00
Ilya Prokopenko
17a60f24e8
Global: Fix photo uploads
Resolves #524
2022-03-30 16:52:14 +03:00
Ilya Prokopenko
6c496ef0ed
Perfectly center the site footer
... at least for those with Tahoma font available.
2022-03-30 18:48:54 +07:00
Celestora
1a2a0805d4 Add photos.save, photos.saveWallPhoto, photos.saveOwnerPhoto, photos.getUploadServer
Didn't test, but shouldn't be really tough to fix afterwards if it'll break.
2022-03-29 20:43:34 +03:00
veselcraft
f7a2da2cbf
VKAPI: Add Likes.add, Likes.remove and Likes.isLiked methods 2022-03-29 14:04:11 +03:00
Celestora
91cf2dcbba Add matomo analytics too 2022-03-29 12:32:03 +03:00
Celestora
52026aca26 Add support for PIWIK Pro Analytics
Proprietary, but has a hosted clickhouse-based option and is focused on privacy.
2022-03-29 12:06:43 +03:00
Ilya Prokopenko
ccf96cb597
Photos: Show deletion notify instead of blank page 2022-03-27 17:09:24 +03:00
veselcraft
8caecbe362
VKAPI: Make ACTUALLY work 'count' arg in Friends methods 2022-03-27 16:43:20 +03:00
veselcraft
dae42b0179
Users: Add ability to search by shortcode 2022-03-27 16:18:51 +03:00
Maxim Leshchenko
c55bb779cc
Users: Hide button to increase rating if display of rating is disabled in settings
Closes #504
2022-03-27 12:12:14 +02:00
Maxim Leshchenko
f1d923f580
Support: Allow agents to prevent banned users from creating tickets 2022-03-27 11:58:29 +02:00
Ilya Prokopenko
6538f0ccd2
Users: Allow admins to easily unban users 2022-03-27 09:44:06 +03:00
Maxim Leshchenko
6588734caa
Support: Allow agents to prevent users from creating tickets 2022-03-26 22:06:07 +01:00
Celestora
6966cbb8c5 Check name validity before creating ChandlerUser
Fixes #498
2022-03-26 12:24:57 +02:00
veselcraft
e6759f089f
Albums: fix getAlbumByPhotoId performance issue 2022-03-25 16:36:38 +03:00
veselcraft
4bf6fce260
VKAPI: Fix 500 error if the post is published as anon 2022-03-25 14:44:10 +03:00
veselcraft
514b73d41e
Merge branch 'master' of github.com:openvk/openvk 2022-03-25 14:05:59 +03:00
veselcraft
1472801874
VKAPI: Add attachments support for Wall methods
TODO Refactor: Перенести вывод в отдельную функцию, чтоб не дублировать код
2022-03-25 14:05:44 +03:00
Celestora
13dab88c9e Auto-resize coins count
Coins count will still break lines if the value can be fit in multiple lines (for accessibility), but it won't escape it's box and damage page design.
2022-03-24 17:03:43 +02:00
Ilya Prokopenko
b11c942c65
Global: Correct the components code
НЛО прилетело и опубликовало эту надпись здесь
2022-03-24 15:29:00 +03:00
Ilya Prokopenko
46db744caf
Notes: Add .underline for underlined text
Kinda resolves #499 but in a different way
2022-03-23 16:43:17 +03:00
celestora
e3312cb5f2
Replace invalid Start-Process command with SetPriority 2022-03-22 12:16:06 +02:00
Ilya Prokopenko
d619455e1f
Notes: Display new notes first
Resolves #500
2022-03-21 17:11:53 +03:00
Ilya Prokopenko
88cbde660b
Show only the custom instance name in the header
It was funny to see the text "OpenVK" floating on the blank space in
some of the screenshots of users. :^)
2022-03-21 16:00:01 +03:00
Celestora
71c744c41f Add video uploading support for Windows
Untested, but should mark as resoved #506
2022-03-20 18:04:43 +02:00
Celestora
02cf435868 Allow Shell to be used on WinNT 2022-03-20 17:37:52 +02:00
Ilya Prokopenko
a31e85f27f
Admin: Add "First known IP" field 2022-03-09 18:23:43 +03:00
Ilya Prokopenko
116a12a90a
DO NOT hide Reg. button when reg. is disabled 2022-03-09 14:06:43 +03:00
Ilya Prokopenko
dee3942aef
Users: Replace Error 404 for deleted profiles
This commit replaces the 404 error with a new template for
deleted/non-existent users.
(this commit was backported from profile-removal)
2022-03-04 15:00:43 +03:00
Ilya Prokopenko
08afedc26f
Notes: Fix-up preview image and some other fixes
... yeah.
2022-02-27 19:18:13 +03:00
veselcraft
21b16dd7a4
Videos: Redesign preview and list 2022-02-22 13:44:13 +03:00
Ilya Prokopenko
533ac20e92
Global: Fix padding for .mb_tab [CSS]
Closes #487
2022-02-20 22:02:52 +07:00
Ilya Prokopenko
7b78becfbd
Global: Fix hiccups and localize some strings 2022-02-19 20:54:44 +03:00
Ilya Prokopenko
a1a18b7255
Groups: Fix the attachment to the left menu 2022-02-19 20:31:19 +03:00
kosfurler
6726771874 Groups: Fix info table disapperiance in group list 2022-02-19 16:07:15 +03:00
Ilya Prokopenko
505274d354
Global: Fix format of the code 🎨 [CSS]
I used Beautify (an extension for VSCode) this time. This extension
seems to have done the job well ngl. Still better than manually
correcting the tabs :/
2022-02-19 12:32:30 +03:00
KosFurler
a9eb0ab31b
Merge branch 'master' into similartovk 2022-02-19 01:32:46 +03:00
kosfurler
91b4e03d7e Layout: Update friends, groups, videos and albums lists. And some style fixes. 2022-02-19 01:03:27 +03:00
f142020724
Locales: Fix "default" string and separate it
Whoops, "default" was also used in other places. Now I reverted it back
and added new "arbitrary_avatars"
2022-02-12 19:16:32 +03:00
Ilya Prokopenko
02eacdb84a
Posts: Remove "Report" button
This commit removes the Report button. When the feature-reports branch
is finished and merged with the main branch, the button will return to
its place.
2022-02-11 07:19:18 +03:00
89f6807648
Wall: add "object-fit: cover" to .cCompactAvatars
Fixes distortion with squared avatars enabled.
2022-02-09 23:17:57 +03:00
Maxim Leshchenko
a15a78b8f0
L10n: Translate message strings in WallPresenter 2022-02-09 21:36:41 +02:00
Ilya Prokopenko
cd484e84dd
Merge branch 'master' into textarea-refactor 2022-02-09 21:32:01 +07:00
Maxim Leshchenko
95de8e4514
Wall: Process hashtags only if it's not part of a word
Closes #449
2022-02-08 18:40:51 +02:00
Maxim Leshchenko
5f376b0517
Users: Consider nickname when searching for a user
Closes #465
2022-02-08 15:44:20 +02:00
celestora
881665831e
Allow non-cased letters in names 2022-02-08 12:15:29 +02:00
Maxim Leshchenko
13b614c377
Users: Add the ability to convert votes into a rating for yourself or other users
Closes #345
2022-02-07 23:33:49 +02:00
veselcraft
47093f40cc
Users: Bring back ability to NOT set the last names 2022-02-07 20:16:47 +03:00
veselcraft
33df6ef170
Profiles: Add ability to set Hometown
Closes #461
2022-02-07 20:07:03 +03:00
veselcraft
8c44721a1e
Merge branch 'master' of github.com:openvk/openvk 2022-02-07 19:40:20 +03:00
veselcraft
a48d1cd8ce
Notification: Fix pagination (it didn't work)
Closes #460

vriska nu i vadristal ty tut v kode xddddd
2022-02-07 19:39:54 +03:00
Maxim Leshchenko
b5524b6b7b
Users: Fix page with list of user's groups 2022-02-07 14:08:26 +02:00
KosFurler
16d41a7be7
Merge pull request #450 from openvk/similartovk
Similartovk
2022-02-06 22:54:47 +03:00
Ilya Prokopenko
170343e989
Videos: Use an actual thumbnail for YT videos 2022-02-06 16:44:49 +03:00
Ilya Prokopenko
e5afb0fc88
Users, Groups: Fix URL avatar output
This commit fixes the avatar URL output for those who visit the website with a port (e.g. ovk.domain.tld:1337)
2022-02-06 16:10:35 +03:00
Ilya Prokopenko
3582156946
Global: Remove arg for n:ifcontent from the footer 2022-02-06 12:47:14 +03:00
Celestora
51ace8d888 Enforce usage of non-empty, correct profile names.
Resolves #456
2022-02-05 20:09:37 +02:00
veselcraft
9d4478516f
Post, Comment: Add a link to profile when clicking on PFP 2022-02-05 20:24:46 +03:00
veselcraft
6b0da27328
Wall: [RSS] Fix URLs 2022-02-05 17:58:02 +03:00
veselcraft
f668aad262
git pushMerge branch 'master' of github.com:openvk/openvk 2022-02-05 17:50:42 +03:00
veselcraft
b7b1a9b31c
Wall: Add RSS output
Currently it doesn't support Images and Reposts, but in future i'll do that.

Reversly related to #437 XD

git status! ALSO IT'S TIME TO UPDATE COMPOSER git status!
2022-02-05 17:50:24 +03:00
celestora
47626b91c7
Merge branch 'master' into similartovk 2022-02-05 16:38:27 +02:00
veselcraft
ee58f81df3
[WIP] Textarea: Add upload multiple pictures
Now there's thumbnail feature in TextArea box.

This is WIP, as the video is broken and posts doesn't feel good with multiple images
2022-02-04 16:41:19 +03:00
kosfurler
c911ebac25 Groups: Fix action block issue 2022-02-01 21:35:37 +03:00
Maxim Leshchenko
b7654c8d16
Fixup "Groups: Update groups layout (#444)" 2022-02-01 18:58:55 +02:00
kosfurler
3f1b852e50 Layout: Made a brand new layout for notes list and update counter in video list 2022-02-01 19:50:53 +03:00
celestora
16df715068
Correct Latte syntax in Group.xml 2022-02-01 17:11:39 +02:00
KosFurler
b1407ba823
Groups: Update groups layout (#444)
* Groups: Update groups layot

* We don't use crowdin anymore, why it's still there?

* Locales: Delete unnecessary LICENSE

We already have COPYING in the root directory :/

* Locales: Localize strings for updated group layout

Localized strings: open_new_group, open_group_desc, search_group, search_by_groups, search_group_desc
(we already have search_for_groups but idk, I'll leave it for now)

* Global: Fix tabs

* Groups: Fix tabs and div block

I have SO many questions...

* Groups: Update layot

New counter, info and actions blocks and some stye fixes

* Global: Fix tabs

* Locales: Localize strings for updated group layout

Localized strings: check_community, groups_list

* Update Groups.xml

* Update Groups.xml

Co-authored-by: veselcraft <veselcraft@icloud.com>
Co-authored-by: Ilya Prokopenko <dsrev@protonmail.com>
Co-authored-by: celestora <kitsuruko@gmail.com>
2022-02-01 13:20:14 +02:00
Vladimir Barinov
5bad3dbd35
Merge pull request #445 from openvk/email-verification
[WIP Maybe] Email: Add verification mechanism

Closes #185
2022-01-31 15:56:58 +03:00
veselcraft
ba360888a4
Email: Bring back timezone fix 2022-01-31 15:55:11 +03:00
veselcraft
bd8e5318b6
Email: Rename Confirmations to Verifications, fix var names and codestyle 2022-01-31 15:35:35 +03:00
kosfurler
a2b13116e6 Groups: Update layot
New counter, info and actions blocks and some stye fixes
2022-01-31 15:15:51 +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
Ilya Prokopenko
42f862eaec
Groups: Fix tabs and div block
I have SO many questions...
2022-01-31 04:45:56 +03:00
Ilya Prokopenko
77bda53ad9
Global: Fix tabs 2022-01-31 04:45:12 +03:00
veselcraft
c9ac428ede Groups: Update groups layot 2022-01-31 02:30:15 +03:00
Maxim Leshchenko
d87277e7e7
Global: Fix up button
Due to the fact that "document.body.scrollTop" was removed from newer browsers, hovering over this button was not displayed. I replaced this with "window.scrollY" which works in newer browsers. I also localized the text on it.
2022-01-30 14:18:39 +02:00
celestora
4c841c96a6
Fix InputBox resize bug on newer browsers
Apparently I forgot to add "px" a few thousand years ago and now this behaviour is broken. Big sad.
2022-01-30 14:12:57 +02:00
veselcraft
f81444ee08
ok i actually broke it 2022-01-30 13:06:04 +03:00
veselcraft
8a373faba0
Merge branch 'master' of github.com:openvk/openvk 2022-01-30 13:05:11 +03:00
veselcraft
72e0103021
Timezone: Fix funny case when page is always reloading in some places 2022-01-30 13:04:07 +03:00
Ilya Prokopenko
9a47089736
Note: Add an Cancel button for editing 2022-01-29 09:49:03 +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
Maxim Leshchenko
f53058d40b
Support: Display number of tickets with a response in left menu to banned users 2022-01-28 18:02:19 +02:00
Maxim Leshchenko
67c61bf7a1
Support: Add ability to delete comments in a ticket
There used to be a button for this, but it didn't work. It works now
2022-01-28 15:34:13 +02:00
Ilya Prokopenko
3796135c2f
Search: Filter out deleted accounts 2022-01-27 14:46:28 +03:00
Ilya Prokopenko
22157c7fa3
[SECURITY] Deny login to a deleted account 2022-01-27 14:01:27 +03:00
Ilya Prokopenko
870653ccb1
Notes: Add editing (#58)
Closes #58
2022-01-26 18:26:18 +03:00
Ilya Prokopenko
a08640780c
Notes: Change strings to localized
I also corrected the tabs because it looked ridiculous
2022-01-26 14:57:34 +03:00
KosFurler
8fee4372e2 Notes: Delete excess comments header 2022-01-26 00:00:52 +03:00
KosFurler
287b2a29aa Notes: Update layot 2022-01-25 23:52:23 +03:00
KosFurler
43ebb2c8ad Merge branch 'master' of https://github.com/openvk/openvk 2022-01-25 22:26:24 +03:00
KosFurler
954b9f350d Notes: Update layout (beta) 2022-01-25 22:26:19 +03:00
Maxim Leshchenko
11cd123436
Discussions: Fix the checkbox "Everyone can create topics"
This line was accidentally removed in one of the commits. I return it back.
2022-01-25 17:25:49 +02:00