Skip to content

Commit 960e834

Browse files
committed
Merge branch 'dev' v0.2.46
2 parents 5523916 + bec018a commit 960e834

26 files changed

+260
-230
lines changed

.snyk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.14.0
3+
ignore: {}

CHANGELOG.md

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,42 @@ All notable changes to fhq-server project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8+
## [v0.2.46] - 2021-11-28 (2021 Nov 28)
9+
10+
### Changed
11+
12+
- Forbidden registration for domain fmshool72.ru
13+
- web-user: Renamed news to events
14+
- web-user: Redesign menu
15+
- web-user: Updated web-user/src/app/services/email-validator.service.ts
16+
- Updated license (year up)
17+
18+
### Fixed
19+
20+
- web-admin: Fixed cursor for codemirror
21+
- web-admin: Fixed kb edit
22+
23+
### Security
24+
25+
- web-user: Fix alerts in map-activity.component.ts by lgtm
26+
- web-user: [synk] upgrade core-js from 3.16.3 to 3.17.3
27+
- web-user: [snyk] Upgrade bootstrap from 4.6.0 to 4.6.1
28+
- web-user: [snyk] Upgrade multiple dependencies with Snyk
29+
- web-user: [snyk] Upgrade @angular/localize from 12.2.4 to 12.2.5
30+
- web-user: build(deps): bump path-parse from 1.0.6 to 1.0.7 in /web-user
31+
- web-user: build(deps): bump nth-check from 2.0.0 to 2.0.1 in /web-user
32+
- web-user: build(deps): bump jszip from 3.5.0 to 3.7.1 in /web-user
33+
834
## [v0.2.45] - 2021-09-29 (2021 Sept 29)
935

1036
### Security
1137

12-
- web-user: [sync] Upgrade @angular/cdk from 12.2.1 to 12.2.2.
13-
- web-user: [sync] Upgrade @angular/material from 12.2.1 to 12.2.2.
14-
- web-user: [sync] Upgrade tslib from 2.3.0 to 2.3.1
15-
- web-user: [sync] Upgrade core-js from 3.16.2 to 3.16.3
16-
- web-user: [sync] Upgrade jquery from 3.5.1 to 3.6.0
17-
- web-user: [sync] Upgrade prismjs from 1.24.1 to 1.25.0
38+
- web-user: [synk] Upgrade @angular/cdk from 12.2.1 to 12.2.2.
39+
- web-user: [synk] Upgrade @angular/material from 12.2.1 to 12.2.2.
40+
- web-user: [synk] Upgrade tslib from 2.3.0 to 2.3.1
41+
- web-user: [synk] Upgrade core-js from 3.16.2 to 3.16.3
42+
- web-user: [synk] Upgrade jquery from 3.5.1 to 3.6.0
43+
- web-user: [synk] Upgrade prismjs from 1.24.1 to 1.25.0
1844

1945
## Added
2046

CMakeLists.txt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
1+
#*********************************************************************************
2+
# Project
3+
# __ _
4+
# / _| |__ __ _ ___ ___ _ ____ _____ _ __
5+
# | |_| '_ \ / _` | ___ / __|/ _ \ '__\ \ / / _ \ '__|
6+
# | _| | | | (_| ||___|\__ \ __/ | \ V / __/ |
7+
# |_| |_| |_|\__, | |___/\___|_| \_/ \___|_|
8+
# |_|
9+
#
10+
# Copyright (c) 2011-2021 FreeHackQuest
11+
#
12+
# Permission is hereby granted, free of charge, to any person obtaining a copy
13+
# of this software and associated documentation files (the "Software"), to deal
14+
# in the Software without restriction, including without limitation the rights
15+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16+
# copies of the Software, and to permit persons to whom the Software is
17+
# furnished to do so, subject to the following conditions:
18+
#
19+
# The above copyright notice and this permission notice shall be included in all
20+
# copies or substantial portions of the Software.
21+
#
22+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
28+
# SOFTWARE.
29+
#
30+
##################################################################################
31+
# fhq-server CMake script
32+
133
cmake_minimum_required(VERSION 3.0)
234

335
project(fhq-server)

src.wsjcpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Automaticly generated by wsjcpp@v0.2.2
22
cmake_minimum_required(VERSION 3.0)
33

4-
add_definitions(-DWSJCPP_APP_VERSION="v0.2.45")
4+
add_definitions(-DWSJCPP_APP_VERSION="v0.2.46")
55
add_definitions(-DWSJCPP_APP_NAME="fhq-server")
66

77
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")

src/storages/mysql/mysql_storage.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ bool MySqlStorageConnection::insertUpdateInfo(const std::string &sVersion, const
135135
}
136136

137137
// ----------------------------------------------------------------------
138+
// MySqlStorage
138139

139140
MySqlStorage::MySqlStorage() {
140141
TAG = "MySqlStorage";

unit-tests.wsjcpp/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
cmake_minimum_required(VERSION 3.0)
33

44
project(unit-tests C CXX)
5-
add_definitions(-DWSJCPP_APP_VERSION="ut-v0.2.45")
5+
add_definitions(-DWSJCPP_APP_VERSION="ut-v0.2.46")
66
add_definitions(-DWSJCPP_APP_NAME="unit-tests-fhq-server")
77

88
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
@@ -100,7 +100,7 @@ list (APPEND WSJCPP_INCLUDE_DIRS "../src.wsjcpp/wsjcpp_arguments/")
100100
list (APPEND WSJCPP_SOURCES "../src.wsjcpp/wsjcpp_arguments/wsjcpp_arguments.cpp")
101101
list (APPEND WSJCPP_SOURCES "../src.wsjcpp/wsjcpp_arguments/wsjcpp_arguments.h")
102102

103-
# fhq-server:v0.2.45
103+
# fhq-server:v0.2.46
104104
list (APPEND WSJCPP_INCLUDE_DIRS "../src")
105105
list (APPEND WSJCPP_SOURCES "../src/validators/validators.h")
106106
list (APPEND WSJCPP_SOURCES "../src/validators/validators.cpp")

web-admin/css/swa-pages.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,10 @@ input[type="file"] {
127127
box-shadow: none;
128128
}
129129

130+
.CodeMirror div.CodeMirror-cursor {
131+
border-left: 1px solid #0f0;
132+
}
133+
130134
hr {
131135
background-color: #0f0;
132136
}

web-admin/js/fhq.admin.knowledge_base.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ fhqadmin.knowledge_base_load_current_item = function(kbid, proposal_id) {
8080
}
8181
list.append(`<div class="${classes}" kbid="${kbid}" propid="-1">Original</div> `);
8282

83-
fhq.classbook_proposal_list({
83+
fhq.ws.classbook_proposal_list({
8484
"classbookid": kbid
8585
}).done(function(r){
8686
for (let idx = 0; idx < r.data.length; idx++) {
@@ -170,7 +170,7 @@ fhqadmin.knowledge_base_load_current_item = function(kbid, proposal_id) {
170170

171171
if (propid === -1) {
172172
// classbook_update_record
173-
fhq.classbook_update_record({
173+
fhq.ws.classbook_update_record({
174174
"classbookid": kbid,
175175
"name": $('#edit_kb_name').val(),
176176
"content": window['edit_kb_content'].value(),

web-admin/js/fhq.ws.admin.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,12 @@ fhq.ws.classbook_localization_update_record = function(params){
306306
return fhq.ws.send(params);
307307
}
308308

309+
fhq.ws.classbook_proposal_list = function(params){
310+
params = params || {};
311+
params.cmd = 'classbook_proposal_list';
312+
return fhq.ws.send(params);
313+
}
314+
309315
fhq.ws.addhint = function(params){
310316
params = params || {};
311317
params.cmd = 'addhint';

web-user/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2011-2019 FreeHackQuest
3+
Copyright (c) 2011-2021 FreeHackQuest
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)