8000 Develop by akanyuk · Pull Request #70 · akanyuk/events · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Develop #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 112 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
a4b2009
Bootstrap 5 loaded
akanyuk Sep 15, 2024
b7b5d39
Index page comments styling (unfinished)
Sep 19, 2024
90a69fe
Bootstrap 5 index page
akanyuk Sep 21, 2024
a14d04f
Comments grouping on index page
akanyuk Sep 22, 2024
6a3dc10
Events view page css fix for bootstrap 5
Sep 26, 2024
853cb45
Competition view page css fix for bootstrap 5
Sep 26, 2024
0be41f5
Work displaying fix for bootstrap 5 (unfinished)
akanyuk Sep 26, 2024
edd1e34
Voting page bootstrap 5 fix
Sep 27, 2024
063c80e
Column moved to right
akanyuk Sep 27, 2024
63acff3
Competitions list short global function
akanyuk Sep 27, 2024
30e00d5
Theme changed
akanyuk Sep 28, 2024
24fa302
Footer added
akanyuk Sep 28, 2024
d75152f
Obsolete `one_compo_event` template removing
Sep 30, 2024
6c224fc
Displaying `one compo event` refactoring
Oct 1, 2024
b317d21
Various layout and styling improvements
akanyuk Oct 1, 2024
8e7dc53
Compo voting refactoring
Oct 3, 2024
f478a63
Voting buttons mobile hovering fix
akanyuk Oct 4, 2024
6d2aeef
Work comments refactoring
akanyuk Oct 4, 2024
32e77cc
One compo event breadcrumbs fix
Oct 7, 2024
2cfc496
Merge remote-tracking branch 'origin/bootstrap5' into bootstrap5
Oct 7, 2024
b228050
Works commenting refactoring
Oct 7, 2024
a3ca4ce
Voting without jQuery
Oct 7, 2024
945701c
Events list bootstrap5 fix
Oct 7, 2024
180d606
Login without jQuery
Oct 7, 2024
f31c79a
Live voting bootstrap5 fix
Oct 7, 2024
eccc780
Merge remote-tracking branch 'refs/remotes/origin/develop' into boots…
Oct 8, 2024
6c9c62b
Merge remote-tracking branch 'refs/remotes/origin/develop' into boots…
Oct 8, 2024
d4a56b0
`login_required` function Bootstrap 5 fix
Oct 8, 2024
f2eed9f
Header and index comments layout optimization
Oct 8, 2024
ea8fc2f
Bootstrap 5 fixing "Restore password" page (unfinished)
Oct 10, 2024
05bc112
Bootstrap 5 fixing "Restore password" page
akanyuk Oct 12, 2024
3a4c7ad
Bootstrap 5 fixing "Activate account page" page
akanyuk Oct 12, 2024
f354ea1
Bootstrap 5 fixing "Registration" page
akanyuk Oct 13, 2024
ab87411
Bootstrap 5 fixing "Update profile" page (unfinished)
akanyuk Oct 13, 2024
0b85ec2
Captcha removing
akanyuk Oct 14, 2024
df4c36a
Bootstrap 5 fixing "Update profile" page
akanyuk Oct 14, 2024
dc85cf5
News removing
akanyuk Oct 14, 2024
b6ef95e
All comments page fixed for bootstrap5
akanyuk Oct 14, 2024
f81b8c4
Internal comments api refactoring
akanyuk Oct 14, 2024
a4c3b2a
Search results page with Bootstrap5 fix
akanyuk Oct 15, 2024
6791043
tpl fix
akanyuk Oct 15, 2024
fcd9afb
tpl fix #2
akanyuk Oct 15, 2024
e55d9cd
tpl fix #3
akanyuk Oct 15, 2024
e65edea
Styles fix
akanyuk Oct 24, 2024
34cccfc
Tpl fix
akanyuk Oct 24, 2024
98b8946
Removing fonts import from css
Oct 25, 2024
3a4e020
Cabinet "My prods" page bootstrap 5 fixed
Oct 25, 2024
9413a79
Auto download SxGeo.dat
Oct 25, 2024
493dec6
Layouts fix
Oct 25, 2024
683d4fc
Layouts fix
Oct 25, 2024
e13cd16
Styles fix
akanyuk Oct 25, 2024
11137b3
Prod view in cabinet bootstrap5 fix (unfinished)
akanyuk Oct 25, 2024
43d6273
Layouts fix
akanyuk Oct 25, 2024
4c65c38
Cabinet work view bootstrap5 fix
akanyuk Oct 27, 2024
5becd62
Competitions list short fix
akanyuk Oct 27, 2024
71f2138
Display work layout fix
akanyuk Oct 27, 2024
bed1ea9
Layouts fix
Oct 28, 2024
80a8bff
No live voting info message
Oct 28, 2024
224c96d
Scrolling fix
akanyuk Oct 28, 2024
573a992
Styles fix
akanyuk Oct 28, 2024
a741395
Layouts fix
Oct 29, 2024
d3a23c9
Logo fixed
Oct 30, 2024
287d1e8
Adding work files (unfinished)
akanyuk Oct 30, 2024
a74c3a0
Adding work files (unfinished2)
Oct 31, 2024
275cf50
Adding work files (unfinished3)
Oct 31, 2024
7adbc17
Adding work files fixed for bootstrap5
Nov 1, 2024
5f7f2cc
Adding work fixed for bootstrap5 (unfinished)
Nov 1, 2024
9ffcf43
Adding work fixed for bootstrap5 (unfinished)
akanyuk Nov 2, 2024
049a32d
Uploading prod into selected by link competition
akanyuk Nov 3, 2024
bc36f51
Layouts fix
akanyuk Nov 3, 2024
9358f66
Layouts fix #2
akanyuk Nov 3, 2024
b6f532b
Counters fix
akanyuk Nov 3, 2024
d2e3ff3
`New comments` icon in header
akanyuk Nov 4, 2024
34aaa8d
Lang fix
akanyuk Nov 4, 2024
07d87c2
Merge remote-tracking branch 'origin/develop' into bootstrap5
akanyuk Nov 7, 2024
89f74e7
Various fixes
akanyuk Nov 10, 2024
82ec556
Empty installation fix
akanyuk Nov 10, 2024
4e0f37d
html fix
akanyuk Nov 10, 2024
bdbefcc
Merge branch 'develop' into bootstrap5
akanyuk Nov 17, 2024
94b4caf
Obsolete method removing
akanyuk Nov 18, 2024
d2bf3cf
'after_upload' work media renaming
akanyuk Nov 18, 2024
a5155cd
`works_interaction` class initial
akanyuk Nov 18, 2024
f2af06c
composer.json fix
Nov 19, 2024
20ec862
Some unfinished works with iteration
Nov 19, 2024
90afae0
`Interactions` block on work update page
akanyuk Nov 25, 2024
fc69a37
Merge remote-tracking branch 'origin/develop' into bootstrap5
akanyuk Nov 29, 2024
78a9055
Merging develop
akanyuk Nov 29, 2024
4ce935e
Merge branch 'bootstrap5' into works-interation
akanyuk Nov 29, 2024
a3c98bb
Update file props, file renaming interactions added
akanyuk Nov 29, 2024
4fb209d
Added interactions for converting ZX Screen, make file_id.diz, make r…
akanyuk Nov 30, 2024
393640b
Added interactions for update work, update status, update links
akanyuk Dec 1, 2024
bd65334
Organizer can send message in interactions
akanyuk Dec 2, 2024
af41ca8
Work interactions in author's cabinet
akanyuk Dec 5, 2024
4cf58bb
Work interactions styling
akanyuk Dec 6, 2024
4b2a5fe
Independent header color in author cabinet pages
akanyuk Dec 7, 2024
d6456b4
Competitions list short indents fix
akanyuk Dec 11, 2024
e32602e
Merge branch 'bootstrap5' into works-interation
akanyuk Dec 11, 2024
e10835f
Works interaction unread messages delimiter added
akanyuk Dec 12, 2024
7c5bec2
Works interaction unread counter in header;
akanyuk Dec 14, 2024
28bd92b
Main menu offcanvas instead dropdown
akanyuk Dec 19, 2024
975bc4e
Cabinet work add files style improvements
akanyuk Dec 19, 2024
0a6c165
Admin interactions announcing
akanyuk Dec 21, 2024
beddd7d
Admin interactions announcing fix
Dec 23, 2024
e6cf04a
Legacy `work checked` logic removed
Dec 23, 2024
4a0e070
Merge pull request #68 from akanyuk/works-interation
akanyuk Dec 23, 2024
f42e3ae
Migrations and `empty.sql` actualization
Dec 23, 2024
7616c29
Bugs fix
Dec 24, 2024
f8eaab5
Interactions renamed to activity
akanyuk Dec 26, 2024
ee8a33a
Showing work's current owner in updating form
akanyuk Dec 26, 2024
92bc2f0
TODO fix
akanyuk Dec 26, 2024
0699865
Cabinet header background color changed again
akanyuk Dec 26, 2024
887ef3a
Merge pull request #69 from akanyuk/bootstrap5
akanyuk Jan 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ config.local.php
debug.php
var/images_cache
var/protected_media
var/SxGeo.dat
var/SxGeoCity.dat
public_html/assets
public_html/cache
public_html/files
Expand Down
1 change: 1 addition & 0 deletions TODO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Removing `Preview` button from preview work (not repeated)
19 changes: 17 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"require": {
"ccampbell/chromephp": "^4.1",
"akanyuk/speccy_gfx_converter": "^1.1.3",
"akanyuk/nfw": "^v1.3.4",
"akanyuk/nfw": "^v1.4.0",
"ext-zip": "*",
"ext-iconv": "*",
"ext-mbstring": "*",
Expand All @@ -11,6 +11,21 @@
"ext-dom": "*",
"ext-simplexml": "*",
"ext-libxml": "*",
"ext-apcu": "*"
"ext-apcu": "*",
"twbs/bootstrap": "5.3.3",
"thomaspark/bootswatch": "5.3.3"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/thomaspark/bootswatch.git"
}
],
"scripts": {
"post-update-cmd": [
"rm -rf public_html/vendor/bootstrap5 && mkdir -p public_html/vendor/bootstrap5/theme && cp -R vendor/twbs/bootstrap/dist/* public_html/vendor/bootstrap5/ && cp -f vendor/thomaspark/bootswatch/dist/cosmo/bootstrap.min.css public_html/vendor/bootstrap5/theme/ && sed -i -e 's/@import url(https:\\/\\/fonts.googleapis.com\\/css2?family=Source+Sans+Pro:wght@300;400;700&display=swap);//g' public_html/vendor/bootstrap5/theme/bootstrap.min.css",
"cd var && rm -f SxGeo*.* && wget https://sypexgeo.net/files/SxGeoCountry.zip && unzip SxGeoCountry.zip && rm SxGeoCountry.zip && wget https://sypexgeo.net/files/SxGeoCity_utf8.zip && unzip SxGeoCity_utf8.zip && rm SxGeoCity_utf8.zip",
"cp -R src/resources/icons public_html/assets && cp -R vendor/akanyuk/nfw/resources/icons public_html/assets"
]
}
}
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3.7'
services:
nginx:
build:
Expand Down
90 changes: 53 additions & 37 deletions empty.sql

Large diffs are not rendered by default.

27 changes: 25 additions & 2 deletions linter.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,33 @@
<?php

$CVote = new vote();
$CVote->actionMainRequestVotekey();
$CVote->actionMainAddVote();
$CVote->actionAdminVotekeys();
$CVote->actionAdminVotes();
$CVote->actionAdminAddVote();
$CVote->actionAdminResults();

$CWorks = new works();
$CWorks->actionAdminAdmin();
$CWorks->actionAdminGetPos();
$CWorks->actionAdminSetPos();
$CWorks->actionAdminInsert();
$CWorks->actionAdminUpdate();
$CWorks->actionAdminDelete();
$CWorks->actionAdminPreview();
$CWorks->actionAdminUpdateWork();
$CWorks->actionAdminUpdateStatus();
$CWorks->actionAdminUpdateLinks();
$CWorks->actionAdminMyStatus();

$CWorksMedia = new works_media();
$CWorksMedia->actionAdminRenameFile();
$CWorksMedia->actionAdminPreviewZx();
$CWorksMedia->actionAdminConvertZx();
$CWorksMedia->actionAdminFileIdDiz();
$CWorksMedia->actionAdminMakeRelease();
$CWorksMedia->actionAdminRemoveRelease();
$CWorksMedia->actionAdminUpdateProperties();

$CWorksActivity = new works_activity();
$CWorksActivity->actionAdminList();
$CWorksActivity->actionAdminMessage();
6 changes: 6 additions & 0 deletions migration/from-v2.7.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ALTER TABLE `events` ADD `content_column` text COLLATE 'utf8mb3_general_ci' NULL COMMENT 'Content for column' AFTER `content`;

DELETE FROM `settings` WHERE id=3;
UPDATE `settings` SET
`attributes` = 'meta_description.desc = SEO: meta_description\r\nmeta_description.type=str\r\n\r\nmeta_keywords.desc = SEO: meta_keywords\r\nmeta_keywords.type=str\r\n\r\nemail_from.desc = e-mail in notifies\r\nemail_from.type=str\r\n\r\nemail_from_name.desc = Sender name in notifies\r\nemail_from_name.type=str\r\n\r\nfooter.desc = Footer content (HTML)\r\nfooter.type = textarea\r\n\r\n53c_competition_id.desc = 53c competition ID\r\n53c_competition_id.type = int'
WHERE id=1;
51 changes: 51 additions & 0 deletions migration/from-v2.8.0.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
DROP TABLE `news`;
UPDATE `pages`
SET `is_active` = '0'
WHERE `id` = '24';

DROP TABLE IF EXISTS `all_comments_viewed`;
CREATE TABLE `all_comments_viewed`
(
`user_id` int unsigned NOT NULL,
UNIQUE KEY `user_id` (`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

DROP TABLE IF EXISTS `works_activity`;
CREATE TABLE `works_activity`
(
`id` int unsigned NOT NULL AUTO_INCREMENT,
`type` int unsigned NOT NULL DEFAULT '0',
`work_id` int unsigned NOT NULL DEFAULT '0',
`message` text,
`metadata` text,
`posted` int unsigned NOT NULL DEFAULT '0',
`posted_by` int unsigned NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

DROP TABLE IF EXISTS `works_activity_unread`;
CREATE TABLE `works_activity_unread`
(
`work_id` int unsigned NOT NULL DEFAULT '0',
`user_id` int unsigned NOT NULL DEFAULT '0',
UNIQUE KEY `work_id_user_id` (`work_id`,`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

DROP TABLE IF EXISTS `works_activity_last_read`;
CREATE TABLE `works_activity_last_read`
(
`activity_id` int unsigned NOT NULL DEFAULT '0',
`work_id` int unsigned NOT NULL DEFAULT '0',
`user_id` int unsigned NOT NULL DEFAULT '0',
UNIQUE KEY `activity_id_work_id_user_id` (`activity_id`,`work_id`,`user_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;

UPDATE works_managers_notes
SET comment = ""
WHERE is_marked = 0;
ALTER TABLE `works_managers_notes`
DROP
`is_checked`,
DROP
`is_marked`,
CHANGE `comment` `comment` text COLLATE 'utf8mb3_general_ci' NOT NULL AFTER `user_id`;
Empty file removed public_html/media/news/.gitkeep
Empty file.
Empty file.
15 changes: 15 additions & 0 deletions src/configs/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,21 @@
'use_browscap' => true,

'media' => array(
'availableIcons' => [
'ay',
'mg2',
'mgs',
'mp3',
'ogg',
'pt2',
'pt3',
'scl',
'scr',
'sna',
'tap',
'trd',
'tzx',
],
'MAX_FILE_SIZE' => 67108864, // MAX_FILE_SIZE # 64Mb
'MAX_SESSION_SIZE' => 67108864, // MAX_SESSION_SIZE # 64Mb
'fs_encoding' => 'utf8', // Filesystem encoding
Expand Down
11 changes: 4 additions & 7 deletions src/controlers/api_test.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<?php
NFWX::i()->main_search_box = false;
NFWX::i()->main_right_pane = false;

NFW::i()->registerResource('jquery.activeForm');
active_field('set_defaults', array('labelCols' => 4, 'inputCols' => 8));

ob_start();
NFW::i()->registerResource('jquery.activeForm');
active_field('set_defaults', array('labelCols' => 2, 'inputCols' => 10));

ob_start();
?>
<style>
FORM {
Expand Down
Loading
0