Commit graph

671 commits

Author SHA1 Message Date
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
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