Skip to content

Commit 5523916

Browse files
committed
Merge commit 'ef5634fb18cbf61704d661fbbbe003312e0a25bf'
2 parents fd799ee + ef5634f commit 5523916

File tree

216 files changed

+117963
-145
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

216 files changed

+117963
-145
lines changed

.code-check.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
],
66
"exclude": [
77
"src/core/3rdParty",
8+
"src-libhv",
89
"src/3rdParty/quazip-0.7.3",
910
"json.hpp",
1011
".DS_Store"

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,29 @@ 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.45] - 2021-09-29 (2021 Sept 29)
9+
10+
### Security
11+
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
18+
19+
## Added
20+
21+
- Added libhv todo replace wsjcpp-light-http-server and qt web sockets
22+
- Added base config for elasticsearch-logstash-kibana
23+
- Added links to googledocument + trello
24+
- wed-user: Added 'mailn.ru' -> 'mail.ru'
25+
26+
## Fixed
27+
28+
- web-admin: Implemented upload files to quest
29+
- web-admin: redesign ui for edit quest
30+
831
## [v0.2.44] - 2021-09-14 (2021 Sept 14)
932

1033
### Added

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,11 @@ list (APPEND WSJCPP_LIBRARIES ${LIBMYSQLCLIENT_LIBRARIES})
263263
#####
264264
############################
265265

266+
# libhv
267+
add_subdirectory(src-libhv)
268+
list (APPEND WSJCPP_LIBRARIES hv_static)
269+
list (APPEND WSJCPP_INCLUDE_DIRS "${PROJECT_BINARY_DIR}/src-libhv/include/hv")
270+
266271
include_directories(${WSJCPP_INCLUDE_DIRS})
267272

268273
find_package (Qt5Core)

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ Backend && Frontend for FreeHackQuest on Qt and WebSockets
1818

1919
## Distribution
2020

21-
| What | Where |
22-
| ----------------------- | ------------- |
23-
| fhq-server (docker) | [![Docker Pulls](https://img.shields.io/docker/pulls/sea5kg/fhq-server.svg)](https://hub.docker.com/r/sea5kg/fhq-server/) |
24-
| fhq-server (vm) | [https://freehackquest.com/dist/](https://freehackquest.com/dist/) |
25-
| client library (js) | [![npm](https://img.shields.io/npm/v/freehackquest-libclient-web-js)](https://www.npmjs.com/package/freehackquest-libclient-web-js) |
26-
| client library (python) | [![PyPI](https://img.shields.io/pypi/v/freehackquest-libclient-py)](https://pypi.org/project/freehackquest-libclient-py/) |
27-
28-
21+
| What | Where | Source code |
22+
| ----------------------- | ------------- | ------------ |
23+
| fhq-server (docker) | [![Docker Pulls](https://img.shields.io/docker/pulls/sea5kg/fhq-server.svg)](https://hub.docker.com/r/sea5kg/fhq-server/) | |
24+
| fhq-server (vm) | [https://freehackquest.com/dist/](https://freehackquest.com/dist/) | |
25+
| client library (js) | [![npm](https://img.shields.io/npm/v/freehackquest-libclient-web-js)](https://www.npmjs.com/package/freehackquest-libclient-web-js) | [GitHub](https://github.com/freehackquest/freehackquest-libclient-web-js) |
26+
| client library (python) | [![PyPI](https://img.shields.io/pypi/v/freehackquest-libclient-py)](https://pypi.org/project/freehackquest-libclient-py/) | [GitHub](https://github.com/freehackquest/freehackquest-libclient-py) |
2927

3028
## For developers
3129

3230
* [Doxygen Documentation](https://freehackquest.com/doxygen/)
31+
* [trello](https://trello.com/b/Z7blDGj3/fhq-server)
32+
* [Документация к системе](https://docs.google.com/document/d/16toRLzVUy8tkilW-jFVjG-1g-8ILDICfucO3EwK8oTg/edit?usp=sharing)
3333

3434
### Build all components (c++ && angular)
3535

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/elasticsearch_data
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
Example got from https://github.com/deviantony/docker-elk
3+
4+
```
5+
$ docker-compose up
6+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
## Default Elasticsearch configuration from Elasticsearch base image.
3+
## https://github.com/elastic/elasticsearch/blob/master/distribution/docker/src/docker/config/elasticsearch.yml
4+
#
5+
cluster.name: "es-docker-cluster"
6+
network.host: 0.0.0.0
7+
8+
## X-Pack settings
9+
## see https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-xpack.html
10+
#
11+
# xpack.license.self_generated.type: trial
12+
# xpack.security.enabled: true
13+
# xpack.monitoring.collection.enabled: true
14+
# node.name: es01
15+
# bootstrap.memory_lock: true
16+
discovery.type: single-node
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
## Default Kibana configuration from Kibana base image.
3+
## https://github.com/elastic/kibana/blob/master/src/dev/build/tasks/os_packages/docker_generator/templates/kibana_yml.template.ts
4+
#
5+
server.name: kb-container
6+
server.host: 0.0.0.0
7+
elasticsearch.hosts: [ "http://es-container:9200" ]
8+
monitoring.ui.container.elasticsearch.enabled: true
9+
10+
## X-Pack security credentials
11+
#
12+
elasticsearch.username: elastic
13+
elasticsearch.password: changeme
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
## Default Logstash configuration from Logstash base image.
3+
## https://github.com/elastic/logstash/blob/master/docker/data/logstash/config/logstash-full.yml
4+
#
5+
http.host: "0.0.0.0"
6+
xpack.monitoring.elasticsearch.hosts: [ "http://es-container:9200" ]
7+
8+
## X-Pack security credentials
9+
#
10+
xpack.monitoring.enabled: true
11+
xpack.monitoring.elasticsearch.username: elastic
12+
xpack.monitoring.elasticsearch.password: changeme
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
input {
2+
beats {
3+
port => 5044
4+
}
5+
6+
tcp {
7+
port => 5000
8+
}
9+
}
10+
11+
## Add your filters / logstash plugins configuration here
12+
13+
output {
14+
elasticsearch {
15+
hosts => "es-container:9200"
16+
user => "elastic"
17+
password => "changeme"
18+
ecs_compatibility => disabled
19+
}
20+
}

0 commit comments

Comments
 (0)