Fidel Ramos
96c9c0feec
Fix SQLite support ( #210 )
...
SQLite DB was not writable because it was always located in
/usr/src/shynet/, which is owned by root and not writable by
appuser. SQLite needs the parent directory containing the DB file to be
writable by the running user.
The applied fix is to place the DB file in /var/local/shynet/db and to
create that directory in the Docker image with the right permissions.
SQLite setup is now documented in README as an alternative to Postgres.
2022-05-24 12:38:27 -07:00
Paweł Jastrzębski
d9bbeea892
Remove basic option from API
...
For simplicity
2022-05-12 12:10:44 +02:00
Paweł Jastrzębski
ca97453c3e
Return 400 if date format is invalid
2022-04-26 10:13:52 +02:00
Paweł Jastrzębski
b87b158aab
Fix typo
2022-04-22 08:28:09 +02:00
Paweł Jastrzębski
4a6af18765
Add django-cors-headers
2022-04-14 19:41:14 +02:00
dependabot[bot]
231421ebae
Bump minimist from 1.2.5 to 1.2.6 ( #204 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-27 11:19:45 -04:00
dependabot[bot]
d17aa9ba38
Bump django from 3.2.10 to 3.2.12 ( #202 )
...
Bumps [django](https://github.com/django/django ) from 3.2.10 to 3.2.12.
- [Release notes](https://github.com/django/django/releases )
- [Commits](https://github.com/django/django/compare/3.2.10...3.2.12 )
---
updated-dependencies:
- dependency-name: django
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-10 10:19:04 -08:00
havk
f6188a8bd1
Add default 0 hits to chart_data ( #195 )
2022-01-11 14:16:49 -08:00
dependabot[bot]
6032b9f4ee
Bump celery from 5.2.1 to 5.2.2 ( #192 )
...
Bumps [celery](https://github.com/celery/celery ) from 5.2.1 to 5.2.2.
- [Release notes](https://github.com/celery/celery/releases )
- [Changelog](https://github.com/celery/celery/blob/master/Changelog.rst )
- [Commits](https://github.com/celery/celery/compare/v5.2.1...v5.2.2 )
---
updated-dependencies:
- dependency-name: celery
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-06 22:16:10 -08:00
Paweł Jastrzębski
6d84f63130
Add API documentation to GUIDE.md
2022-01-05 10:27:14 +01:00
Paweł Jastrzębski
ba91ed561d
Add uuid validation
2022-01-05 09:47:14 +01:00
Paweł Jastrzębski
2aaadfe81c
Display api urls on service management page
2022-01-05 09:47:05 +01:00
Paweł Jastrzębski
7f60b3abff
Rename minimal parameter to basic
2022-01-05 08:53:46 +01:00
Paweł Jastrzębski
069b218828
Move api token info to security tab
2022-01-04 08:53:00 +01:00
havk
a460d1f045
Remove empty js script from template ( #189 )
...
* Remove empty js script from template
Serving empty file raise ValueError in gunicorn
* Remove empty js file
2022-01-02 14:15:07 -08:00
havk
8b0205a2f7
Fix last month date range ( #187 )
2022-01-02 09:37:19 -05:00
Paweł Jastrzębski
80647d960a
Merge branch 'master' into api
2022-01-01 19:56:55 +01:00
Paweł Jastrzębski
364ef115c9
Merge branch 'api' of https://github.com/haaavk/shynet into api
2022-01-01 19:50:10 +01:00
R. Miles McCain
71ec196ec4
Use :edge in default kubernetes deployment
2022-01-01 00:11:43 -05:00
R. Miles McCain
4834c5722f
Bump version to v0.12.0
2021-12-31 23:47:05 -05:00
R. Miles McCain
4b4c8f207e
Fix dates in the new year
2021-12-31 23:44:48 -05:00
R. Miles McCain
aed88b7c9a
Use Alpine 3.14
2021-12-31 13:26:57 -05:00
Paweł Jastrzębski
bcf94147c9
Fix problem with whitespaces in copied token
2021-12-31 12:11:42 -05:00
Paweł Jastrzębski
66b841fd86
Move token to User model + add API setting view
2021-12-31 12:11:42 -05:00
Paweł Jastrzębski
d809ec82d9
Add uuid filter and service uuid filter
2021-12-31 12:11:42 -05:00
Paweł Jastrzębski
e577aa4997
Add minimal argument to get_core_stats
2021-12-31 12:11:42 -05:00
Paweł Jastrzębski
5966ea2f84
Add DashboardApiView
2021-12-31 12:11:42 -05:00
Paweł Jastrzębski
a7248cd54b
Add ApiTokenRequiredMixin
2021-12-31 12:11:42 -05:00
Paweł Jastrzębski
1dec03c724
Add ApiToken to admin
2021-12-31 12:11:42 -05:00
Paweł Jastrzębski
ff6933b4de
Add api app with ApiToken model
2021-12-31 12:11:42 -05:00
R. Miles McCain
1fd46b019c
Lessen priorities on field buttons ( #182 )
...
* Lessen priorities on field buttons
* Use latest alpine
2021-12-31 12:11:03 -05:00
R. Miles McCain
e534269c77
Provide initial contributing guide
2021-12-21 00:23:29 -05:00
R. Miles McCain
0d64ef33b0
Remove installation with SSL from guide TOC
2021-12-21 00:15:15 -05:00
R. Miles McCain
56c82e7d23
Remove HTTPS without reverse proxy from the GUIDE
2021-12-21 00:14:18 -05:00
R. Miles McCain
c71d934c67
Remove armv7 support
2021-12-21 00:10:12 -05:00
R. Miles McCain
85ae56fcdb
Add swap space to GitHub Actions runners
2021-12-18 15:34:11 -05:00
R. Miles McCain
cd422ffd71
Add note about ALLOWED_HOSTS to GUIDE.md
2021-12-18 15:14:11 -05:00
R. Miles McCain
060a9b2a96
Update Python dependencies
2021-12-18 14:38:31 -05:00
R. Miles McCain
8d13ccd0fd
Update dependencies
2021-12-18 13:56:57 -05:00
lionep
0d46e6d1f4
Fix typo in GUIDE.md ( #180 )
2021-12-04 09:50:26 -08:00
R. Miles McCain
81ae84efb3
Add office hours link
2021-11-21 00:12:24 -08:00
Paweł Jastrzębski
8302aedaa7
Fix problem with whitespaces in copied token
2021-11-17 11:46:35 +01:00
Paweł Jastrzębski
e2d438134a
Merge branch 'master' into api
2021-11-17 11:24:34 +01:00
Paweł Jastrzębski
787ce1775f
Move token to User model + add API setting view
2021-11-17 11:00:52 +01:00
R. Miles McCain
ea5f58fbd3
Update lock
2021-11-13 21:11:52 -08:00
dependabot[bot]
4079a8494a
Bump sqlparse from 0.4.1 to 0.4.2 ( #178 )
...
Bumps [sqlparse](https://github.com/andialbrecht/sqlparse ) from 0.4.1 to 0.4.2.
- [Release notes](https://github.com/andialbrecht/sqlparse/releases )
- [Changelog](https://github.com/andialbrecht/sqlparse/blob/master/CHANGELOG )
- [Commits](https://github.com/andialbrecht/sqlparse/compare/0.4.1...0.4.2 )
---
updated-dependencies:
- dependency-name: sqlparse
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-13 21:10:06 -08:00
Sérgio
780b71083a
Add first factories and first dashboard tests ( #172 )
...
* Add factories and first dashboard tests
* Code cleanup
Co-authored-by: R. Miles McCain <github@sendmiles.email>
2021-11-13 21:09:55 -08:00
Sérgio
62fbb014e7
Testing setup (dependencies and github actions) ( #169 )
...
* Add testing dependencies
* Add draft github action
* Fix testing env variables
* Newline lint
* Run tests on every pull request and push
2021-11-13 21:03:06 -08:00
Paweł Jastrzębski
d62d48c7b4
Add uuid filter and service uuid filter
2021-10-14 07:38:21 +02:00
Paweł Jastrzębski
2f8891a843
Add minimal argument to get_core_stats
2021-10-13 19:52:36 +02:00