Umputun
9d8985e616
change update to silent curl
2022-02-11 12:00:55 -06:00
Paul Mineev and Umputun
9bae155e79
Fixes for telegram
...
- fix type for an error in fetcher
- use is-object func for checks
- better error handling for auth requests
2022-02-11 10:59:19 -06:00
Umputun
7b47bd2f05
return 200 and empty list on user comments if nothing #1265
2022-02-10 15:31:09 -06:00
Umputun and GitHub
74b47d3a8a
Merge pull request #1107 from Ksinia/master
...
Add telegram auth to frontend
2022-02-09 11:05:44 -06:00
Dmitry Verkhoturov and Umputun
6fd730655a
bump Go modules
2022-02-09 11:04:13 -06:00
Pavel Mineev
c9b1fb4737
simplify click outside
2022-02-07 22:47:00 -06:00
Pavel Mineev
38414c4628
move error hook to hooks file
2022-02-07 22:36:36 -06:00
Pavel Mineev
b97b1f9462
telegram adjustments and tests
...
- get rid of redux store in favor of local state
- add tests for telegram happy path
- lift auth handling on Auth level
2022-02-07 22:28:19 -06:00
dependabot[bot] and Pavel Mineev
7395198843
Bump nanoid from 3.1.23 to 3.2.0 in /frontend
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-07 22:28:07 -06:00
dependabot[bot] and Umputun
988391bc9d
Bump nanoid from 3.1.23 to 3.2.0 in /frontend
...
Bumps [nanoid](https://github.com/ai/nanoid ) from 3.1.23 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases )
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ai/nanoid/compare/3.1.23...3.2.0 )
---
updated-dependencies:
- dependency-name: nanoid
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-07 19:52:35 -06:00
Ksinia
5c91b8764e
Switch QR to backend rendering
2022-02-08 00:28:34 +01:00
Ksinia
7c6b44a5bb
Get rid of isTelegramShown state
2022-02-07 23:33:32 +01:00
Ksinia
0f4ac6348c
Fix function name
2022-02-07 23:33:32 +01:00
Pavel Mineev and Ksinia
0ea91bb99f
update tg icon
2022-02-07 23:33:32 +01:00
Pavel Mineev and Ksinia
3e12ca4074
fix tests
2022-02-07 23:33:32 +01:00
Ksinia
69b110e36b
Add telegram auth to frontend
2022-02-07 23:33:32 +01:00
Dmitry Verkhoturov and Umputun
9dbc36e426
remove explicit /srv/ usage from docker-compose files
...
We have plenty of paths used in the application, but two of them
are hardcoded in examples all over the code for historical reasons.
I found that by default in Docker, the path would resolve to the value
we are setting it explicitly to, so it doesn't make sense to set
a few variables we are setting now explicitly.
2022-02-07 03:54:54 -06:00
JoeyZhouAus and Umputun
e0980d4700
Fix typo in index.md
...
The text in the backend development section should be backend instead of frontend
2022-02-06 21:30:01 -06:00
Dmitry Verkhoturov and Umputun
f58073fa57
add proper default values for two boolean variables
2022-02-06 16:37:47 -06:00
Dmitry Verkhoturov and Umputun
6fe83fb6b8
bump auth module
...
Follow-up for https://github.com/go-pkgz/auth/pull/107
2022-02-06 14:22:27 -06:00
Dmitry Verkhoturov and Umputun
49d2552a78
fix frontend documentation typo
2022-02-06 13:55:52 -06:00
Roganik and Umputun
78be64900b
Add tips to url-migration docs
2022-02-06 12:42:32 -06:00
Dmitry Verkhoturov and Umputun
603decabf6
add QR API endpoint for Telegram auth and notifications
...
Telegram authentication requires you to open a chat on the phone.
It's convenient to have a QR code for the case when you want to
log in on the computer but have Telegram only on your phone
and would be able to scan the QR instead of copy-pasting the link
from the computer to the phone any other way.
Originally we thought of generating QR on the client but found
backend-generated QR a better alternative because we avoid adding
one more JavaScript dependency to the frontend that way.
2022-01-31 14:28:18 -06:00
Dmitry Verkhoturov and Umputun
8d42d0714f
bump backend dependencies
...
Also, switch from fork github.com/umputun/go-flags back to original
github.com/jessevdk/go-flags.
2022-01-31 14:24:33 -06:00
Dmitry Verkhoturov and Umputun
3a9806a368
improve doc on backend run without docker
2022-01-30 19:05:57 -06:00
Dmitry Verkhoturov
31af19e456
make FindDeprecatedFlagsCollisions private method
2022-01-31 00:40:03 +03:00
Dmitry Verkhoturov
8689b11e7c
log when deprecated and new args are set at the same time
...
For example, when notify.telegram.token and telegram.token
are both set but to different values, user might see
"access denied" error in log on attempt to send telegram
notification, thinking that notify.telegram.token value
is used, when in fact it is ignored and only telegram.token
is used.
New behavior is the same, ignoring the old param when new
one is set, but issuing the error log message which
explicitly tells the user about that.
Resolves #1218 .
2022-01-31 00:40:03 +03:00
Dmitry Verkhoturov and Umputun
ffa0d34ed1
improve backend and frontend development docs
...
Remove generic development documentation, make frontend
and backend pages more specific and self-sufficient,
as previously you had to read development and frontend
pages in order to understand how to properly develop
frontend.
2022-01-30 12:25:07 -06:00
Umputun
dc9411e2b9
add work-in-progress note about tg auth docs
2022-01-30 04:09:45 -06:00
Dmitry Verkhoturov and Umputun
bd42c75a84
improve telegram notifications documentation
2022-01-24 15:06:50 -06:00
Umputun
6af938051a
drop drone legacy magic from artifact build
2022-01-23 16:25:24 -06:00
Umputun
33b96a4263
the same buildplatform only for node deps step
2022-01-23 16:04:14 -06:00
Umputun
2d033de224
build node things only once, on builplatform only
2022-01-23 16:02:46 -06:00
Umputun
c5d56a89cd
pass GITHUB_REF into docker build
2022-01-23 15:17:13 -06:00
Umputun
e8bd5dfc6e
add missing args
2022-01-23 15:12:19 -06:00
Umputun
077b2d297c
switch to versions.sh instead of legacy git-rev.sh
2022-01-23 14:34:45 -06:00
Umputun
45c633776f
skip legacy drone check
2022-01-23 14:06:26 -06:00
Dmitry Verkhoturov and Umputun
ddba4059b0
add "invite your tg bot" note to documentation
...
Pointed out in #1221 originally.
2022-01-23 13:20:14 -06:00
Ivan Uhalin and Umputun
434f0f5f3d
update docs link
2022-01-20 02:23:53 -06:00
Paul Mineev and Umputun
aabee8312d
update eleventy config
2022-01-18 13:09:30 -06:00
Paul Mineev and Umputun
5d1f021667
update site lockfile
2022-01-18 12:59:17 -06:00
Umputun
8ef308e6a2
Revert "update site lockfile"
...
This reverts commit a5d1be80d7 .
2022-01-18 12:59:03 -06:00
Paul Mineev and Umputun
a5d1be80d7
update site lockfile
2022-01-18 12:41:23 -06:00
Pavel Mineev and Umputun
dd06500573
bump frontend deps
2022-01-18 01:38:30 -06:00
Pavel Mineev and Umputun
249dd5d2b2
move gatsby integration to manuals
2022-01-18 00:10:13 -06:00
Pavel Mineev and Umputun
ac610db7e3
bump site deps
2022-01-18 00:02:27 -06:00
a748e26166
Integrating Remark42 with Gatsby (documentation) ( #1222 )
...
* add sample Gatsby/React component with comments md
* fix typo
* remove semicolons
* add link to gatsby doc in nav.json
* fix typo
* make comment actually a comment in the return
* improve comment syntax
Co-authored-by: Ben <BenRoe@users.noreply.github.com >
2022-01-15 12:04:40 -06:00
Umputun
0521c7024c
attempt to fix ci
...
another fix for ci
fix build tagged images
backend/v1.9.0
v1.9.0
2022-01-12 12:16:37 -06:00
Ivan Nedzveckij and Umputun
c3b39b41ae
telegram notifications format headers, resolve #1202
2022-01-12 11:40:00 -06:00
Paul Mineev and Umputun
f6772a7253
use double quotes
2021-12-24 04:17:39 -06:00