Commit graph

1085 commits

Author SHA1 Message Date
Ilya Prokopenko
d16b5fdf33
Global: New notification sound
Related to #535
2022-04-09 17:04:25 +07:00
Ilya Prokopenko
3c4b3221e2
Global: Add keyboard shortcuts for some sections
This commit adds keyboard shortcuts for Home, Search, User Profile,
Wall, Notifications, and Admin Panel for (hopefully) quick navigation
through these sections.

Keep in mind that the hints to these sections (e.g. "[Alt+Shift+<KEY>]")
will only be relevant to modern browsers. Refer to this link:
https://developer.mozilla.org/docs/Web/HTML/Global_attributes/accesskey
2022-04-09 09:14:11 +03:00
Ilya Prokopenko
bcc22fa359
Global: Stylize #test-label [CSS]
Just to make that block a lil better.
2022-04-09 08:54:24 +03:00
7bf540295a
Auth: Remove autocompletion for TOTP input 2022-04-08 19:56:40 +03:00
Celestora
ccab9b39d5 Use minimized images in posts 2022-04-08 11:40:20 +03:00
Celestora
6c0d543d26 Add back ability to create albums in groups 2022-04-06 12:47:56 +03:00
Celestora
15385ad69d Add auto-resolution for weird directory files error in Photo 2022-04-05 22:36:46 +03:00
Celestora
599c378b6f Remove redundant getDimensions 2022-04-05 16:13:25 +03:00
Celestora
be83a72be2 Add build-images to openvkctl 2022-04-05 15:54:53 +03:00
Celestora
ed9dac2ac1 Use correct image sizes in various templates 2022-04-05 14:39:13 +03:00
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
Maxim Leshchenko
eca0f057ca
About: Hide list of most popular groups if there are no groups 2022-01-25 14:22:33 +02:00
Maxim Leshchenko
71186631f3
Global: Fix lists display and CSS formatting fixes 2022-01-25 00:21:58 +02:00
Maxim Leshchenko
6e863134f2
Photos: Fix code style in AlbumList.xml 2022-01-24 17:55:43 +02:00
KosFurler
62d5d97857 Merge branch 'master' of https://github.com/openvk/openvk 2022-01-24 18:20:54 +03:00
KosFurler
e153c5c2f7 Albums:
Upgrade style of album list
2022-01-24 18:20:42 +03:00
Maxim Leshchenko
d64e54cd58
Global: Fix code style in styles.css 2022-01-24 16:58:42 +02:00
veselcraft
bf19fb2ab7
Notes: Fix 500 error made by @kosfurler :DDDDDDDDDDDDDDD 2022-01-24 16:25:56 +03:00
veselcraft
6c90bd1d0f
Date: Hide seconds if smth was created today or ACTUALLY yesterday 2022-01-24 16:16:24 +03:00
veselcraft
4ae74841e0
Date: Hide seconds if smth was created today or yesterday 2022-01-24 16:15:27 +03:00
veselcraft
b9f4cedca5
Date: Make it more user-friendly 2022-01-24 16:08:40 +03:00
Maxim Leshchenko
f72879de0e
Discussions: Fix search bar in group discussion board 2022-01-24 14:39:31 +02:00
KosFurler
9a42484401 Notes
Add a header in the note view
2022-01-23 23:27:52 +03:00
KosFurler
bf5856ba43 Styles
Added styles for new page elements and some fixes
2022-01-23 23:26:58 +03:00
KosFurler
df4a492543 Update style.css 2022-01-23 19:18:34 +03:00
KosFurler
c22c4a0c2c Update style.css 2022-01-23 19:15:38 +03:00
veselcraft
89b75825b3
Global: Fix reloadloop if the server checks for CSRF token 2022-01-22 16:12:01 +03:00
veselcraft
2e0f51eb80
Merge branch 'master' of github.com:openvk/openvk 2022-01-22 15:55:09 +03:00
veselcraft
7baa4cf20a
Global: Add a date adaptation to the user's timezone
Closes #170
2022-01-22 15:54:57 +03:00
Maxim Leshchenko
2636d0ff78
Admin: Display more information in footer 2022-01-21 18:45:27 +02:00
Maxim Leshchenko
26f3f8c77a
Admin: Display instance name in header 2022-01-21 18:38:41 +02:00
Ilya Prokopenko
4281ec4f80
Markdown: Removed Safe Mode
It's not necessary at this point anyway.
2022-01-21 13:47:08 +03:00
Maxim Leshchenko
cc501cf3ba
Microblog: Display a checkbox for posting a comment on behalf of a group in feeds 2022-01-20 22:44:45 +02: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
Vladimir Barinov
f4d6b2bc14
Merge pull request #380 from themohooks/master
WIP: Soviet & Udm locales
2022-01-19 16:14:38 +03:00
Ilya Prokopenko
4e97b1ae02
Languages: New interface (#120)
Thanks to @myslivets for the new style!

Closes #120
2022-01-19 16:11:29 +03:00
veselcraft
62b0e59904
Merge branch 'master' of github.com:openvk/openvk 2022-01-17 19:01:52 +03:00
veselcraft
bf81402174
Themes: Apply themes only for one device
Closes #424
2022-01-17 19:01:30 +03:00
Maxim Leshchenko
b0bb5fb88f
Global: Fix display of text inputs 2022-01-17 14:42:39 +02:00
celestora
b490208290
Fix typo in al_comments 2022-01-17 12:15:44 +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
celestora
ca64bf210d
Add "my news" link to global feed
Resolves #390
2022-01-16 14:07:57 +02:00
celestora
89bcd89cb3
Improve "Reply..." button
Now it can be used after textarea initialization (fixes #391) and is capable of replacing pervious mention (if it is located at the start of le string, otherwise it prepends mention)
2022-01-16 13:50:52 +02:00
celestora
cfb8b68fc0
Allow semicolons in links [wip?]
Resolves #359
2022-01-16 13:15:08 +02:00
Ilya Prokopenko
217463e554
Global: Replacing Textile with Markdown
Closes #293
2022-01-16 12:09:05 +03:00
Maxim Leshchenko
7508030909
About: Fix parsing Textile files in knowledgebase 2022-01-16 00:04:16 +02:00
Maxim Leshchenko
5e80477ae2
Admin: Add ability to disable display of group posts in the global feed 2022-01-15 19:41:39 +02:00
Ilya Prokopenko
94cc24c65e
Global: Fix textarea [CSS] 2022-01-12 23:01:06 +07:00
Maxim Leshchenko
8e94a0caf0
Walls: Close post attachment context menu after attachment 2022-01-09 23:02:19 +02:00
Ilya Prokopenko
cd01a8171d
Layout: hotfix (?)
I shouldn't have added it after all...
2022-01-09 08:53:26 +03:00
Ilya Prokopenko
12691eeb80
Global: Removed the remaining routes 2022-01-09 08:49:23 +03:00
Ilya Prokopenko
3b1d85d64f
Global: Some fixes
I corrected the layout and tabulation a bit and put the QA Team back in the OpenVK version description.
2022-01-09 08:47:57 +03:00
Ilya Prokopenko
eb1b317209
Comments: Actually show user verification 2022-01-08 21:01:29 +07:00
Maxim Leshchenko
b46552663d
Support: Make the behavior when the user has no tickets more friendly
Specifically, do not display a link to the list and display a message in the list instead of nothing if there are no tickets. Closes #394
2022-01-07 02:15:36 +02:00
Maxim Leshchenko
9feea4302a
Support: Some fixes
:3
2022-01-07 02:07:36 +02:00
Maxim Leshchenko
02e41e19b4
Support: Use pagination in the user's ticket list 2022-01-07 00:59:51 +02:00
Maxim Leshchenko
f7fbda1e3c
Support: Comb the code
Also, now clicking on the name of the support agent does not display "false". There should be no other visible changes
2022-01-07 00:30:49 +02:00
Maxim Leshchenko
2034d6ef46
Photos: Fix deleting albums
Closes #392
2022-01-06 18:49:13 +02:00
Ilya Prokopenko
f7b33af86a
Routes: /restore.pl is no more
Forgot I was supposed to delete this >.<
2022-01-06 13:49:55 +07:00
Maxim Leshchenko
b056ffab8b
Global: Do not load fartscroll if it is disabled in the config 2022-01-06 01:39:43 +02:00
Maxim Leshchenko
efcaa874fb
Users: Fix 2FA QR code generation when new version of chillerlan/php-qrcode is installed
Compatibility with the old version is also preserved
2022-01-06 00:31:21 +02:00
Maxim Leshchenko
3edf34e0ea
Global: Add user option to hide ad poster 2022-01-03 21:13:53 +02:00
Maxim Leshchenko
1b1c88dd96
About: Add a page with information about an instance
Namely, brief statistics, a list of administrators (the administrator can be hidden from the list using a new right), a list of the 10 most popular groups and rules
2022-01-03 17:59:12 +02:00
Celestora
a115e15a5c Fix default values in some components 2022-01-02 20:52:53 +02:00
Maxim Leshchenko
9e01d0adba
Groups: Display list of group albums to administrators, even if it is empty
The same behavior has already been implemented with discussions. What for? Previously, to create a group album, it was necessary to manipulate the address. There was no other method. Now this empty list will serve as a button for administrators to create an album and show that such a possibility exists.
2022-01-02 17:49:11 +02:00
Maxim Leshchenko
413e2ac6f0
Photos: Fix creating and deleting albums in groups
Closes #171
2022-01-02 17:15:49 +02:00
Ilya Prokopenko
c10b8274a6
Search: No need to repeat query when changing tab 2022-01-02 17:54:48 +03:00
Maxim Leshchenko
cca9151661
Groups: Add ability to hide posts from the global feed 2022-01-02 01:45:00 +02:00
MaksimMohooks
222621ebaf Update Udm locales 2021-12-31 15:52:35 +03:00
Ilya Prokopenko
a1be5bb901
Auth: Show /restore only to unauthorized people 2021-12-31 11:35:05 +07:00
Ilya Prokopenko
8863ededf1
Removed unnecessary extensions from the routes
... almost. restore.pl was left temporarily (namely for two days) so that users could safely restore their passwords if they needed to.
2021-12-31 11:28:57 +07:00
Ilya Prokopenko
c2588d18dc
Admin: Added possibility to change page URL 2021-12-31 11:11:29 +07:00
Maxim Leshchenko
85ca646825
Messenger: Do not display the correspondent's login date if it was too long ago 2021-12-30 18:53:55 +02:00
Maxim Leshchenko
79e000d175
Users: Allow translation of user alerts
Also add an alert about scam to translations
2021-12-28 22:51:01 +02:00
Defenders08
61b36417a8
Multiple message improvements (#366)
* Сообщения

Сделал такой же цвет в списке у непрочитанного сообщения + убрал скругления ибо зачем они там вообще если нигде их нету лол)

* Сообщения

Исправил баг при котором в списке сообщений была горизонтальная прокрутка
2021-12-28 20:26:54 +02:00
Maxim Leshchenko
e5c650e351
Messenger: Allow sending messages not only to friends and add a privacy setting to customize this
Closes #91
2021-12-28 11:40:14 +02:00
Ilya Prokopenko
126abe3bbb
Update AboutPresenter.php
Accidentally blocked the entire wall, oops :D
2021-12-28 10:50:19 +07:00
Ilya Prokopenko
b32f366b01
robots.txt (#89)
Closes #89

I also added humans.txt just for fun
2021-12-27 19:35:14 +03:00
veselcraft
1ba2786f8b
Merge branch 'master' of github.com:openvk/openvk 2021-12-27 18:40:44 +03:00
veselcraft
1c3d5112ff
L10n: Add a nofollow relationship to the languages links 2021-12-27 18:40:36 +03:00
Maxim Leshchenko
68b822a808
Fixup "Groups: Display group anonymous avatar link as anonymous"
:3
2021-12-27 13:34:57 +02:00
Maxim Leshchenko
19796d5ca8
Groups: Display group anonymous avatar link as anonymous 2021-12-27 13:08:20 +02:00
Maxim Leshchenko
0b848e35ee
Auth: Do not require a surname upon registration 2021-12-27 00:11:35 +02:00
Maxim Leshchenko
83aec24393
Groups: Add a button to manage a group from the admin panel to the group page 2021-12-26 20:52:35 +02:00
Maxim Leshchenko
9d89a67a91
Support: Ability to respond with configurable quick replies to tickets 2021-12-26 19:18:36 +02:00
Maxim Leshchenko
33836d8a2e
Groups: Publish group avatars uploaded by hidden administrator as anonymous 2021-12-26 16:16:37 +02:00
Maxim Leshchenko
08c4d961f1
Users: Fix saving settings
:3
2021-12-26 16:06:57 +02:00
Maxim Leshchenko
91429437f8
Users: Make it easier to enter votes vouchers
Automatically switch fields and fill all fields on paste
2021-12-26 14:29:22 +02:00
Ilya Prokopenko
579b2fb0dd
Posts: Ability to hide Share and Like buttons
Moved from 8f8d7bb
2021-12-26 18:05:22 +07:00
Maxim Leshchenko
7b4d30328d
Users: Work fine with empty statuses 2021-12-26 00:02:07 +02:00
Maxim Leshchenko
c74847dd5f
Users: Disable status change button during status change 2021-12-25 22:46:40 +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
a3167ab828
Fixup "Users: Do not reload page when changing status through a popup"
:3
2021-12-25 19:58:34 +02:00
Maxim Leshchenko
19a2325a25
Users: Do not reload page when changing status through a popup 2021-12-25 19:47:18 +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
veselcraft
efa89e075f
Global: Define standard unix time values
Thanks @vladislav805 for the idea!
2021-12-25 14:21:39 +03:00
veselcraft
5d47549442
Global: Add a CSS style for disabled and loading profile buttons
Groups: Add a loading animation
2021-12-25 14:17:11 +03:00
Maxim Leshchenko
a1691a1485
L10n: Fix work of JS tr function with numbered strings 2021-12-24 22:58:36 +02:00
Maxim Leshchenko
48bfd36807
Groups: Display current page in list of user groups 2021-12-24 22:17:05 +02:00
Maxim Leshchenko
948719ec3d
Groups: Do not show group pin button in group list when the group cannot be pinned 2021-12-24 22:08:03 +02:00
Defenders08
f35f32eb9c
Update style.css 2021-12-25 00:56:09 +07:00
Maxim Leshchenko
b9c9c45bbf
Wall: Fix "Reply" button in the feeds 2021-12-24 16:58:04 +02:00
Maxim Leshchenko
54963cfafc
Revert "L10n: Improve the work of exporting a language to JS with includes"
I got a little confused then, it turned out to be unnecessary
2021-12-23 13:19:54 +02:00
Maxim Leshchenko
869873d225
About: Some fixes
Translate the title and increase the size of the topic status column to fit the text there
2021-12-23 12:39:20 +02:00
Maxim Leshchenko
21b03d3e71
L10n: Improve code in JavaScript tr function 2021-12-22 19:09:05 +02:00
Maxim Leshchenko
3d44361a76
L10n: Improve the work of exporting a language to JS with includes 2021-12-22 18:21:38 +02:00
Maxim Leshchenko
6ebae054c6
L10n: Remove the ability to specify the fallback language and use includes instead 2021-12-22 18:21:27 +02:00
Maxim Leshchenko
70b4712c92
Gifts: Display information about an anonymous gift to the person who sent it 2021-12-22 17:53:45 +02:00
Maxim Leshchenko
c77fbebd22
Discussions: Add ability to turn on the display of a list of topics above the wall 2021-12-22 17:31:58 +02:00
Maxim Leshchenko
c8b44ce9a2
Notifications: Remove unnecessary links from the list 2021-12-22 16:51:13 +02:00
Maxim Leshchenko
601d120771
Global: Don't highlight mentions if they are part of a word or link 2021-12-22 16:03:41 +02:00
veselcraft
43bfd48fa9
Groups, Users: Fix right for Groups and Friends list 2021-12-22 16:42:02 +03:00
veselcraft
753a282b88
Groups: Delete the leftover lable Actions 2021-12-22 16:29:04 +03:00
veselcraft
0d255ec746
Merge branch 'master' of github.com:openvk/openvk 2021-12-22 16:27:05 +03:00
veselcraft
511afc464c
ListView: Add a actions block to the element of the list 2021-12-22 16:26:49 +03:00
Maxim Leshchenko
c75ce513a0
Gifts: Return the ability to send gifts to those who did not have them 2021-12-21 17:25:03 +02:00
veselcraft
8479ae5e70
Merge branch 'master' of github.com:openvk/openvk 2021-12-20 23:52:37 +03:00
veselcraft
05643e97cd
Photos: Album view redesign 2021-12-20 23:51:50 +03:00
Vladimir Barinov
4aad7cef42
Users: Fix incorrect rating achievements
Fixes #355
2021-12-20 09:38:09 -08:00
veselcraft
40b0603429
Gifts: Increase value of visible gifts on user's page from 3 to 4
Yep, this is a fixup of previous commit
2021-12-20 19:05:55 +03:00
veselcraft
3d75e9cd7e
Gifts: Move gifts to the left side on User's page
Fixes #175
2021-12-20 19:01:34 +03:00
veselcraft
a7944a1e08
User: Friends mini-list redesign
Also fixes #180
2021-12-20 18:02:49 +03:00
veselcraft
f902e95cfc
Wall: Fix big avatars on repost 2021-12-20 16:38:07 +03:00
Maxim Leshchenko
3b54c4b878
Users: Add ability to transfer votes to another user 2021-12-19 14:52:40 +02:00
Maxim Leshchenko
cb8c2f683b
Groups: Fix the display of groups for non-logged in users 2021-12-18 20:42:01 +02:00
Maxim Leshchenko
af3dc6608e
Translate comment reply button text 2021-12-18 17:08:33 +02:00
Maxim Leshchenko
8efe468e8f
Support: Again fix answers evaluating 2021-12-18 16:17:18 +02:00
Maxim Leshchenko
e4452aca7e
Fixup "Microblog: Fix reply button in inline comments below post"
All the same, I forgot to add these files to the commit :3
2021-12-17 21:35:41 +02:00
Maxim Leshchenko
497e55b1a7
Microblog: Fix reply button in inline comments below post 2021-12-17 21:30:39 +02:00
Dmitry
afa1d7e71c
Fix online in messages (#354) 2021-12-17 20:34:24 +02:00
Maxim Leshchenko
8edebcb0d5
Users: Add ability to hide custom links by users through settings 2021-12-17 18:58:31 +02:00
Maxim Leshchenko
4dcb62a1d3
Global: Move link to the donation page to left menu
Previously, the link to donate in the header when the Russian language was turned on took up too much space. Because of this, after adding a link to the invitation, the links in the header became too large and began to look not very nice. Also this link can now be easily disabled
2021-12-17 17:40:08 +02:00
Maxim Leshchenko
18cb0fe5b5
Global: Allow localization of custom links in the menu
To do this, add the "@" symbol to the beginning of the link name
2021-12-17 17:28:21 +02:00
Maxim Leshchenko
e65d6231a1
Groups: Fix posting comments on behalf of the group 2021-12-17 17:13:40 +02:00
Maxim Leshchenko
846510ef93
Fixup "Groups: Transfer community permissions to another user (#348)"
Didn't notice these problems during the code review :3
2021-12-16 21:23:28 +02:00
n1rwana
1d5a599734
Groups: Transfer community permissions to another user (#348)
Closes #302
2021-12-16 20:40:34 +02:00
Maxim Leshchenko
e00e3b9097
Support: Fix answers evaluating
Now it works
2021-12-16 20:25:42 +02:00
Maxim Leshchenko
26ddfada05
Discussions: Change text of count of messages in the topics 2021-12-16 19:51:04 +02:00
Maxim Leshchenko
c0acfd7f7f
Groups: Remove the ability for those who are not group administrators to publish posts, comments and topics on behalf of the group
Before this commit, this could be done by sending the corresponding parameter in the POST request (but the checkbox for this was not displayed by default)
2021-12-15 19:19:13 +02:00
veselcraft
e32aba2fd3
Photos: Fix unexisting permissions for clubs photo album 2021-12-15 20:18:43 +03:00
Maxim Leshchenko
cd91d4e310
Discussions: Some fixes 2021-12-15 19:00:26 +02:00
n1rwana
3ed37e34a4
The "invite" button has been added to the header (#347)
The "invite" button has been added to the header

(Issue #196 )
2021-12-15 21:25:07 +07:00
Maxim Leshchenko
c9091c3499
Discussions: Fix posting comments on behalf of the club 2021-12-15 12:18:20 +02:00
Maxim Leshchenko
5354d8edcc
Support: Fix an error when trying to view a ticket 2021-12-15 02:02:12 +02:00
Maxim Leshchenko
1356944109 Discussions: Display topic creation date 2021-12-15 01:47:05 +02:00
Maxim Leshchenko
c1707a5991
Groups: Fix discussions
Again. Pardon :3
2021-12-15 01:29:41 +02:00
Maxim Leshchenko
066ebc1c6f
Groups: Slightly improve the appearance of the list of topics on the group page 2021-12-15 01:20:53 +02:00
n1rwana
a082d84d54
Support: Allow users to rate support answers (#342)
* New feature: users can rate support answers

Now users can rate support answers. They will see links "This is good answer" and "This is bad answer", like it was in original VK.
2021-12-15 00:56:23 +02:00
Maxim Leshchenko
e3a4c34574
Fixup "Groups: Discussions"
Just forgot to add these two files to the commit :3
2021-12-15 00:48:09 +02:00
Maxim Leshchenko
356c782f74
Groups: Discussions
This commit adds discussions (forums) to groups, similar to how it was implemented in the original VK
2021-12-15 00:27:17 +02:00
Maxim Leshchenko
db91af2a52
Search: Fix redesign
This commit makes the search workable, fixes the length of the search button, translates the placeholder and returns the number of results
2021-12-14 22:43:10 +02:00
veselcraft
6ef1e533da
Users: Birthday refactoring
Also fixes #118
2021-12-14 18:53:44 +03:00
veselcraft
4a7a37e200
Search: Full redesign
Co-authored-by: Defenders08 <60748247+Defenders08@users.noreply.github.com>
2021-12-14 16:36:02 +03:00
veselcraft
ef58c569e8
Messenger: Added a header to index page 2021-12-14 16:12:33 +03:00
veselcraft
c16262617d
Privacy: Fix a lot of issues with user's privacy
And fixes #36
2021-12-14 16:00:12 +03:00
veselcraft
7dc3e8965d
Wall: Ability to ping users by short adresses
Fixes #28
2021-12-14 15:28:35 +03:00
veselcraft
c0e0690872
Merge branch 'master' of github.com:openvk/openvk 2021-12-14 15:15:49 +03:00
veselcraft
fa32a92ab5
Styles: Fix nobold tag 2021-12-14 15:15:23 +03:00
Celestora
1ef8c4e248 Copy oxygen-icons statically
We don't use any icons which are not 16x16 or 64x64, so including a 368MB submodule is simply irrational, complicates installation and development process. Since the icons are already sugoi, it is also very unlikely that we will need to bump their version in the nearest frature. This being said, I'm removing this submodule and replacing it with actual files copied from repo.
2021-12-14 14:09:26 +02:00
Celestora
8c3507d464 Unlink oxygen-icons submodule 2021-12-14 13:59:02 +02:00
Celestora
e6493d4f5c Fix logic error in антимат 2021-12-14 13:55:11 +02:00
Celestora
ae6ecbc67d Add christian mode (антимат) 2021-12-14 13:46:51 +02:00
Maxim Leshchenko
df0f9c7b65
Search: Use the instance name in the search header instead of the "OpenVK" hardcoded string 2021-12-13 22:33:44 +02:00
Maxim Leshchenko
5d8d5c2277
Search: Make the indents around the search box symmetrical 2021-12-13 22:32:19 +02:00
Maxim Leshchenko
c3332ab625
Fix indentation in UserPresenter 2021-12-13 19:19:53 +02:00
Maxim Leshchenko
fbfa15e4ed
Wall: Translate the line of the current attachment near textarea 2021-12-13 19:15:01 +02:00
Maxim Leshchenko
08f95b5417
Wall: Translate anonymous post checkbox 2021-12-13 18:39:46 +02:00
Maxim Leshchenko
c4303ad566
Wall: Translate the post attachment menu 2021-12-13 18:22:04 +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
Maxim Leshchenko
3cf0c54deb
Wall: Fix deleting comments 2021-12-13 15:20:49 +02:00
Maxim Leshchenko
bb055f90aa
Fixup "Groups: Allow coadmins to delete comments on posts" 2021-12-13 00:43:20 +02:00
Maxim Leshchenko
78a8ee9a45
Groups: Allow coadmins to delete comments on posts
Closes #341
2021-12-12 21:47:39 +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
8b86fdecd3
Global: Add some spacing between comments and paginator 2021-12-12 14:15:50 +02:00
Maxim Leshchenko
f249437af2
L10n: Add the ability to specify a fallback locale for locales 2021-12-11 16:27:40 +02:00
Mikitko Wiśniewski
ea3c1a57a2
L10n: Add traditional russian (#336) 2021-12-11 14:11:17 +02:00
Maxim Leshchenko
910e604630
L10n: Translate errors in OpenVKPresenter 2021-12-10 19:21:25 +02:00
Maxim Leshchenko
6cc68b5480
Support: Translate operations result messages 2021-12-10 18:52:32 +02:00
Maxim Leshchenko
1b510ca6a3
Support: Make the code more similar to rest of code in the project 2021-12-10 18:36:50 +02:00
Maxim Leshchenko
2af7dcc4f4
Support: Fix deleting tickets 2021-12-10 17:17:01 +02:00
Maxim Leshchenko
763c0c91e2
Support: Check ticket for existence before showing 2021-12-10 15:53:39 +02:00
Maxim Leshchenko
28649d3c4d
L10n: Translate everything related to registration 2021-12-08 23:01:46 +02:00
Maxim Leshchenko
1888fb69a1
Users: Allow use of underscores in the Telegram account name 2021-12-08 22:19:16 +02:00
Maxim Leshchenko
9a48870eac
Users: Validate email and Telegram account name when changing page contacts 2021-12-08 20:06:05 +02:00
Maxim Leshchenko
6904a86064
Microblog: Display the wall on which the post was posted if it is someone else's wall 2021-12-08 16:26:56 +02:00
Maxim Leshchenko
9785ae1c9b
Improve the last commit again :3 2021-12-07 20:50:14 +02:00
Maxim Leshchenko
9826296256
Improve and slightly fix the last commit 2021-12-07 20:11:51 +02:00
Maxim Leshchenko
3bbdb3c85b
Support: If the agent does not have a surname, do not display an extra dot 2021-12-07 20:05:04 +02:00
Maxim Leshchenko
7cbb3afcd7
Fixup "Support: Send new ticket notifications to Telegram"
Excuse me
2021-12-05 23:48:44 +02:00
Maxim Leshchenko
d7e3d2d77d
Support: Send new ticket notifications to Telegram 2021-12-05 23:30:57 +02:00
Maxim Leshchenko
cdc130ecc2
Fixup "Fixup "Support: Display the number of unanswered tickets in the left menu"
Sorry I wanted to sleep then
2021-12-05 13:54:39 +02:00
Ilya Prokopenko
2b1a147e9f
L10n: Corrections and added missing lines from RU 2021-12-05 12:32:52 +07:00
Maxim Leshchenko
6f26a870fd
Users: Fix saving of libertarianism in political views
Closes #101
2021-12-05 01:16:12 +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
98f8819c17
Global: Fix CSRF vulnerabilities in /logout and language change
Closes #281
2021-12-05 00:48:25 +02:00
veselcraft
735e75fa21
AJAX: Fix when group does not adding to left menu if the group itself have a custom url 2021-12-05 00:08:40 +03:00
veselcraft
f4baf46a72
@layout.xml: one more hotfix :DDDD 2021-12-05 00:04:33 +03:00
veselcraft
aa60b64638
@layout.xml: hotfix :DDDD 2021-12-05 00:03:30 +03:00
veselcraft
534265bb3a
Merge branch 'master' of github.com:openvk/openvk 2021-12-04 23:59:35 +03:00
veselcraft
0890a3204a
AJAX: Adding group to the left menu does not require page reload 2021-12-04 23:59:21 +03:00
Maxim Leshchenko
4d471481b6
Remove extra parentheses from the last commit
Please excuse me, it happened by accident!!
2021-12-04 22:27:42 +02:00
Maxim Leshchenko
c52bc1010a
Fixup "Groups: Add the ability to write comments on behalf of the group"
Sorry, I just forgot to add this file to the commit :3
2021-12-04 22:23:57 +02:00
Maxim Leshchenko
7f4dabef4b
Support: Display the number of unanswered tickets in the left menu 2021-12-04 22:15:13 +02:00
Maxim Leshchenko
d9c04d1428
Wall: Handle exception when posting a long comment 2021-12-04 21:59:47 +02:00
Maxim Leshchenko
021971289d
Groups: Add the ability to write comments on behalf of the group 2021-12-04 21:46:26 +02:00
Maxim Leshchenko
7591c1082b
Gifts: Remove the previous fix from the gift selection page
He was not needed :3
2021-12-04 15:47:42 +02:00
veselcraft
92146b8e47
L10n: Added a localization for dialogs 2021-12-04 16:30:18 +03:00
veselcraft
958846a86c
L10n: tr function for JS scripts 2021-12-04 16:06:28 +03:00
Maxim Leshchenko
4048f21f59
Global: Fix paginator display in lists
It's probably a crutch, but oh well. Just continued an existing crutch
2021-12-04 13:25:57 +02:00
Maxim Leshchenko
0cca615d2a
Support: DESC sorting instead of ASC 2021-12-04 12:52:44 +02:00
Maxim Leshchenko
5918a9c34c
Global: Do not show the separator in the left menu if there are no links below it 2021-12-03 20:45:59 +02:00
Maxim Leshchenko
24624bb147
Users: Show all groups in the list of managed groups 2021-12-03 20:08:50 +02:00
Maxim Leshchenko
b4c6061a9a
Fixup "Users: Add two-factor authentication"
Make the background of the QR code white, correct the text of the enable message and remove audios from the left menu
2021-12-02 18:12:45 +02:00
Maxim Leshchenko
e433e83c5d
Users: Add two-factor authentication (#321)
This commit adds full TOTP 2FA. And even backup codes modeled on the original VK
2021-12-02 17:31:32 +02:00
Maxim Leshchenko
34f4f8fc5d
Wall: Fix pasting attachments from the clipboard in the post creation form
Also fixup previous commit
2021-12-02 14:37:16 +02:00
Maxim Leshchenko
7f43458cda
Wall: Fix attachment of files in the comment popup 2021-12-02 14:01:48 +02:00
veselcraft
5f9b36de5f
Themepacks: Adapt the layout to support xmas.css stylesheet
and added some info about why the theme was been skipped
2021-12-02 15:00:15 +03:00
veselcraft
1735d1401f
Xmas: updated css 2021-12-01 23:13:16 +03:00
veselcraft
c6ab5b0ac5
Xmas: Custom header and xmas is activated after 1 december 2021-12-01 23:12:05 +03:00
veselcraft
a36fe7b0e8
Global: Instance name in header bar 2021-12-01 16:19:37 +03:00
veselcraft
e9635be5a8
Comments: Fix layout and likes count 2021-11-30 18:34:07 +03:00
Maxim Leshchenko
5beff8897c
Wall: Remove sending a notification when a comment is like that breaks the list of notifications
To fix broken notification lists for everyone, run this SQL query in the database with notifications: DELETE FROM `notifications` WHERE `originModelType` = 6;
2021-11-29 13:23:17 +02:00
veselcraft
706f972e88
Wall: Fix performance issue 2021-11-28 17:28:17 +03:00
Ilya Prokopenko
a77c7dea54
Support: L10n support and rewriting responses 2021-11-28 16:44:22 +03:00
veselcraft
e7c3d46e83
L10n: New string "View other comments" 2021-11-28 14:56:39 +03:00
veselcraft
14b3e13d95
Wall: Compact avatars are now works with non-default settings; Comments in the feed 2021-11-28 14:53:33 +03:00
veselcraft
03dee6b1f0
Wall: Last comments on the post 2021-11-28 14:39:42 +03:00
veselcraft
7778dd7d38
Wall: Added a Pinned string to Post (microblog style) 2021-11-28 03:22:59 +03:00
veselcraft
dd94cde0dc
Feed: Little bit of posting field redesign 2021-11-28 02:47:00 +03:00
veselcraft
5ff3d95b2d Merge branch 'master' of github.com:openvk/openvk into master 2021-11-27 21:07:42 +03:00
veselcraft
d650a3cd21
Notifications: Shring the radius of the corners
Co-authored-by: Defenders08 <60748247+Defenders08@users.noreply.github.com>
2021-11-27 21:07:34 +03:00
veselcraft
fd2ef5fad5
User: Age refactoring
Лапский, это вообще пиздец какой-то. Проще не додумался сделать?
2021-11-27 21:02:37 +03:00
Maxim Leshchenko
d7b3ccb3ad
Users: Correctly align the status change popup relative to the status itself 2021-11-27 19:32:21 +02:00
veselcraft
f3791f6478
Wall: Redesign like and repost buttons 2021-11-27 16:31:00 +03:00
veselcraft
7d94282ad4
Pagination: Make it a LOT better
thx grinotion for the idea xddddd
2021-11-27 15:19:17 +03:00
veselcraft
478f8f9368
Support: Indicator for answered tickets for user
Fixes #187
2021-11-27 12:24:34 +03:00
Ilya Prokopenko
25d0fde3c3
Global: Deleted bg.gif and hat.gif
They were NEVER used. No, seriously.
2021-11-26 20:27:45 +07:00
Ilya Prokopenko
c327054393
Global: Updated Xmas header
I should've done this when updating the main header but nvm
2021-11-26 20:09:46 +07:00
Maxim Leshchenko
73b8ac3f4a
Fixup "Users: Add a popup to change the status"
Sorry :3
2021-11-25 22:21:38 +02:00
Maxim Leshchenko
76605b9eed
Users: Add a popup to change the status
Now, when you click on the status, a popup window opens in which you can do this (just like in the original VK and OpenVK Classic). So far, changing the status requires a page reload. Closes #227
2021-11-25 22:10:53 +02:00
Celestora
60653cdf59 Fix typo in AnswerTicket.xml 2021-11-25 21:23:08 +02:00
Celestora
131988ddf3 Rewrite unholy and annoying support greetings 2021-11-25 21:20:52 +02:00
Maxim Leshchenko
d1f0dea73a
Groups: Remove useless return in GroupPresenter (sorry) 2021-11-24 22:53:32 +02:00
Maxim Leshchenko
787587015d Groups: Fix calculation of length of admin comment 2021-11-24 22:48:27 +02:00
veselcraft
1eb5939378 Merge branch 'master' of github.com:openvk/openvk into master 2021-11-24 22:29:52 +03:00
veselcraft
a3d65a402e
VKAPI: Wall.get impovements
Added a "extended" value, added a "offset" to the Repositories/Posts->getPostsFromUsersWall function and little bit of refactoring
2021-11-24 22:24:44 +03:00
Maxim Leshchenko
4dcc5981f1
Fix indentation in User/View.xml 2021-11-24 18:14:13 +02:00
Maxim Leshchenko
ab231aa55f
Users: Remove @ from the beginning of the Telegram account name when saving it 2021-11-23 01:31:27 +02:00
Maxim Leshchenko
d782dd055a
Add a separate style to radio buttons so they don't look like checkboxes 2021-11-23 00:38:32 +02:00
veselcraft
6a139442c8
Users: Fix #289 2021-11-20 14:30:18 +03:00
veselcraft
b2a993d649
Groups: Hotfix for "Managers" tab 2021-11-20 13:53:54 +03:00
veselcraft
e5238ecc41
User: Added a tab in "My Groups" page for usual and managed groups 2021-11-20 13:47:59 +03:00
Ilya Prokopenko
d58d0b5a38
Added another version of the logo for README only 2021-11-20 17:21:35 +07:00
veselcraft
b1a4a4a895
Videos: DESC sorting instead of ASC 2021-11-20 12:56:59 +03:00
Maxim Leshchenko
6562884af2
Wall: Handle exception when posting a long post 2021-11-20 00:46:51 +02:00
Celestora
b5d1384d08 Fix oxygen-icons submodulojn 2021-11-18 15:58:43 +02:00
Ilya Prokopenko
a6b738ffd2
Global: Changed logo in the header
... as well as changed the width value for .home_button
2021-11-18 20:48:25 +07:00
Celestora
1c34e51750 Fix indentation in TRichText 2021-11-17 21:41:44 +02:00
Celestora
373513cabc WIP: Fix XSS vulnerability in support tickets 2021-11-17 21:39:22 +02:00
Celestora
b1fbb7560c Fix weird reference to "owner" column in Post::getOwnerPost 2021-11-17 18:27:11 +02:00
Maxim Leshchenko
c83947ab09
Groups: If the administrator is hidden, create his posts anonymously 2021-11-17 09:43:55 +02:00
Maxim Leshchenko
2ee7a141c5 User: Correctly display the number of videos and notes on the user's page when their list is collapsed 2021-11-16 14:31:15 +02:00
Maxim Leshchenko
4daa1afea4
Groups: Show number of administrators when their list is collapsed 2021-11-16 13:01:33 +02:00
Maxim Leshchenko
c383a3cdc9 Groups: Fix the very inclusion of the display of the creator, when changing the name, when all administrators are hidden 2021-11-16 12:45:34 +02:00
Celestora
674e613e30 Fix routing bug in absolute photo URLs 2021-11-16 11:56:27 +02:00
Celestora
0a7bc786b5 Add option to post anonymously 2021-11-15 21:45:48 +02:00
Ilya Prokopenko
3e0447c3f0
Notes: Undoing changes to Entities/Note 2021-11-15 14:11:51 +03:00
Ilya Prokopenko
98fd851729
Notes: Actual use of virtual ID 2021-11-15 14:00:49 +03:00
Maxim Leshchenko
3d07339431
Groups: Fix error when changing website 2021-11-13 23:43:51 +02:00
Maxim Leshchenko
2c31900d97
Groups: Return pagination to subscribers list 2021-11-13 23:39:00 +02:00
Maxim Leshchenko
7c81378b6c
About: Add myself :3 2021-11-13 22:57:18 +02:00
Maxim Leshchenko
5c9d3c085e
When you like a repost, put likes on the entire hierarchy of repost posts recursively (#287) 2021-11-13 22:28:17 +02:00
Ilya Prokopenko
33f027b84b
Clubs: Added a getWebsite function 2021-11-13 19:21:46 +07:00
veselcraft
9cef1f630f
Users: Added a getWebsite function just to fix unworking state xddd 2021-11-13 15:13:44 +03:00
Maxim Leshchenko
1c650d595c
Add the ability to specify the website of users and groups (#279) 2021-11-12 18:56:41 +02:00
Maxim Leshchenko
818d7cbc02
Fix crutch to correctly display the name of the group creator with Russian symbols 2021-11-12 18:18:48 +02:00
Maxim Leshchenko
5556c88e44
Improvements related to group admins (#278)
Changes:
1. Add the ability to display only administrators on the page with a list of subscribers
2. Add the ability to hide the fact that the subscriber is an administrator
3. Fix display of large text in the block with the list of administrators
4. Fix display of the number of administrators
2021-11-12 15:31:23 +02:00
Maxim Leshchenko
3f74e426be
Pinning groups to the left menu: Correct name of the strings 2021-11-12 11:32:22 +02:00
Maxim Leshchenko
e3358fcfa5 Pinning groups to the left menu
This commit allows you to pin groups to the left menu (max 10 groups, only those in which you are the administrator) from the My Groups page. Fixes #186
2021-11-10 11:18:25 +02:00
celestora
610b2bda6d
Resolve #275 by reducing line-height to 1.3x 2021-11-07 12:40:26 +02: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
veselcraft
f555c781bf
Group: Refactoring for admins (also fixes #252) 2021-11-06 22:25:11 +03:00
Maxim Leshchenko
a19671eff8 Fix conflicts 2021-11-06 16:57:07 +02:00
Maxim Leshchenko
bcdf4c6524 Redesign of the list of administrators 2021-11-06 16:47:53 +02:00
veselcraft
c8eb6c3f3f About: Added a knowledge base feature to the main page 2021-11-06 15:02:12 +03:00
veselcraft
2b6f4a9896 Wall: Added more readability (fix #268) 2021-11-06 14:40:44 +03:00
Maxim Leshchenko
989cd8952b Allow adding comments to group admins
This commit allows you to add a comment to group administrators, which will be displayed in the list of administrators
2021-11-06 13:06:57 +02:00
celestora
dc10276621
Style radio buttons 2021-11-05 13:24:55 +02:00
Maxim Leshchenko
d05c181e63 Code improvements 2021-11-05 12:32:55 +02:00
Maxim Leshchenko
b15b9643a0 Add group creator display options
This commit allows you to display the list of administrators instead of the group author (maximum 7 administrators, the rest will be hidden) and hide the group author
2021-11-05 11:44:50 +02:00
celestora
c306899ead
Fix syntax errors in WallPresenter 2021-11-04 19:01:09 +02:00
veselcraft
c049d5c0f3 Merge branch 'master' of github.com:openvk/openvk 2021-11-04 00:23:42 +03:00
Ilya Prokopenko
96ee98ae28
Now you can't access the wall of a banned user
Fixes #264
2021-11-04 16:15:58 +03:00
celestora
4ea2a52f17
Update style.css 2021-11-04 14:25:02 +02:00
Celestora
c0c35c3872 Fix #161: online status bug 2021-11-04 13:45:30 +02:00
veselcraft
d9f4894e7b Global: Fix #267 2021-11-04 00:23:29 +03:00
Celestora
e5ea1cd351 Make kromer storage type "real" to allow buying cents/pennies 2021-11-03 19:19:15 +02:00
Ilya Prokopenko
fd09cc61f8
User: Manage user (for admins) (#263)
Closes #263
2021-11-03 19:02:59 +07:00
Celestora
9e86389b62 Add admin-placeable alerts 2021-11-02 23:07:26 +02:00
Ilya Prokopenko
dbca5e4f34
About: #ovkLogo - width -> height 2021-11-01 21:10:31 +07:00
Ilya Prokopenko
8e95a53e04
Global: New version of the full logo 2021-10-31 20:55:55 +07:00
Ilya Prokopenko
ecc1fba94d
Global: Get rid of OpenVK 2 branding (#105)
Closes #105
2021-10-31 18:29:52 +07:00
dependabot[bot]
03791f4366
Bump underscore from 1.10.2 to 1.13.1 in /Web/static/js (#258) 2021-10-30 14:16:19 +00:00
dependabot[bot]
2101f7e75c
Bump jquery-ui from 1.12.1 to 1.13.0 in /Web/static/js (#256)
Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.12.1...1.13.0)

---
updated-dependencies:
- dependency-name: jquery-ui
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-30 17:00:44 +03:00
veselcraft
734a86b799 VKAPI: Added Audio method (early implementation 🧌) 2021-10-23 00:00:25 +03:00
celestora
7e4896a0d3
Videos: Fix pagination in videos 2021-10-17 12:03:31 +03:00
Ilya Prokopenko
ddce88ba7f
About: Lapskiy was removed from the dev force
... at his own request.
2021-10-17 15:57:35 +07:00
Celestora
0b7b67e2e7 Notifications: WIP: Add ajax notifications :D 2021-10-15 23:05:27 +03:00
Ilya Prokopenko
931f2a1149
Posts: Online status hotfix 2021-10-15 18:36:21 +03:00
Ilya Prokopenko
2feaee4be4
Posts: Added online status under the avatar
Closes #237
2021-10-15 18:17:34 +03:00
Celestora
ad878474ce Videos: Implement checks to prevent uploads of non-video files or mediacontainers without vstreams
Resolves #234
Sorry, Beatrice
2021-10-15 12:34:59 +03:00
veselcraft
cb8038590c JS, Repost: Notification instead of dialog after reposting 2021-10-14 22:28:25 +03:00
veselcraft
ffb8c6d5df JS [WIP]: Added a notification popup 2021-10-14 22:21:10 +03:00
Celestora
829b3d1fbc Photos: Increase possible wideness/tallness of image to k=7 2021-10-14 14:40:28 +03:00
Celestora
b47d0dcd48 Support: WIP: Add support agent name customization 2021-10-14 13:35:17 +03:00
Celestora
b39dd44143 Settings: Add configurable shortcode length constraint 2021-10-13 23:41:12 +03:00
Celestora
1a0454c01f fix typo 2021-10-13 23:26:27 +03:00
Celestora
28e7eaa9e3 Wall: Fix video uploads in comments 2021-10-13 23:23:01 +03:00
Celestora
8509bd445f Wall: move graffiti lib include to TextArea 2021-10-13 23:15:39 +03:00
Celestora
97a52eb656 Comments: graffiti in comments are now a "quirk" 2021-10-13 23:11:39 +03:00
Celestora
1c341874a0 Wall [Experimental]: Allow to embed videos in posts 2021-10-13 22:51:28 +03:00
Celestora
a53826f46d Wall: Move comments script from Post view to general comments template 2021-10-13 21:47:42 +03:00
Celestora
cdbe0f906b Wall: Fix invalid reference to $club in TextArea 2021-10-13 21:31:41 +03:00
Celestora
a75a4dd8b2 Wall: Add z-index to attachment menu 2021-10-13 21:21:09 +03:00
Celestora
a01bab1179 Wall: Fix clipboard pasting in textarea 2021-10-13 21:03:08 +03:00
Celestora
c3f44c58ad Wall: WIP: Add graffiti attachment (via Photos) 2021-10-13 20:50:16 +03:00
Celestora
722690474e Wall: Add attachment type picker 2021-10-13 20:48:36 +03:00
Ilya Prokopenko
b1ebfcac22
Global: Mail.ru -> VK Group
The time has come (suddenly).
2021-10-13 23:19:37 +07:00
Celestora
240ce51705 Media: Allow to change the default data deletion policy 2021-10-13 18:23:02 +03:00
0x7d5
403ed65bd1 Registration: fix brithday, AGAIN AND AGAIN 2021-10-13 12:37:57 +05:00
0x7d5
c6a13b92cd Registration: fix birthday. Again. 2021-10-13 09:36:11 +05:00
veselcraft
250912783c Wall: Fixes non-working links on comments, added a animation when link is targeting on comment
Resolves #79
2021-10-12 18:12:11 +03:00
Celestora
129d415877 Comments: Add reply button
Resolves #148
2021-10-12 14:18:07 +03:00
Celestora
4ab9d67718 [WIP] Comments: Allow photo uploads in comments 2021-10-12 14:17:21 +03:00
Celestora
2e15de74fc Wall: Move input TextArea to separate file
Fixes #44
2021-10-12 14:16:39 +03:00
Celestora
ec4757f356 Commerce: allow disabling commerce in configuration
Resolves #183
2021-10-12 12:20:08 +03:00
Celestora
e782d502b8 Gifts: fix crash if user is not logged in 2021-10-12 12:18:03 +03:00
Ilya Prokopenko
ac733fb462
Groups: Cosmetic fix 2021-10-10 21:00:52 +07:00
0x7d5
dcdca45045 registration: Added field birthday 2021-10-10 13:41:38 +05:00
Vladimir Barinov
81e5f2ae2c
Profile: Refactor rating bar. Again.
@celestora is not going to follow my idea kek
2021-10-10 00:05:20 +03:00
0x7d5
46540e08b7 CSS: Supplemented line break in status profile (fixes #176) 2021-10-10 01:54:49 +05:00
Celestora
b25af9b14d Refactor function name 2021-10-09 22:44:48 +03:00
Celestora
5c9c09c7a9 Refactor rating bar 2021-10-09 22:42:20 +03:00
Vladimir Barinov
d2b572818f
Profile: Little bit of refactoring 2021-10-09 22:12:57 +03:00
veselcraft
2c118e3179 Revert "Fix bug with rating display"
This reverts commit 00fac4fe66.
2021-10-09 22:10:31 +03:00
celestora
00fac4fe66
Fix bug with rating display 2021-10-09 22:05:46 +03:00
celestora
c17c3382a0
Fix incorrect slug generation for GiftCategory 2021-10-09 21:54:42 +03:00
0x7d5
20ca453e34
User: bug fix with birthday 2021-10-09 19:40:20 +05:00
Ilya Prokopenko
f611c89f13
CSS: Added line break to all items
Fixes #176
2021-10-09 19:01:32 +07:00