Commit graph

1279 commits

Author SHA1 Message Date
Igor Chubin
12df32b07c Split rest of srv into packages 2022-12-03 16:08:43 +01:00
Igor Chubin
0d42c23d5b Move stats to a separate package 2022-12-03 15:39:34 +01:00
Igor Chubin
aef41c375e Fix Makefile 2022-12-02 20:10:48 +01:00
Igor Chubin
30c2c85e54 Move global consts to config 2022-12-02 20:10:32 +01:00
Igor Chubin
28f1fd9aae Move global transport to RequestProcessor 2022-12-02 19:47:36 +01:00
Igor Chubin
7b8c6665e8 Move config to separate package 2022-11-29 21:38:39 +01:00
Igor Chubin
f27bf2d5b3 Move routing to separate module 2022-11-29 21:24:53 +01:00
Igor Chubin
ec264850a4 Add /:stats support 2022-11-27 22:16:32 +01:00
Igor Chubin
8fd712f790 Add cmd/route.go 2022-11-27 22:16:19 +01:00
Igor Chubin
762e0fe8f0 Move RequestProcessor to a struct 2022-11-27 15:51:41 +01:00
Igor Chubin
b6687ee037 Add gopkg.in/yaml.v3 to go.mod 2022-11-26 15:40:04 +01:00
Igor Chubin
2c367d0157 Return err from ProcessRequest instead of panic 2022-11-20 17:55:17 +01:00
Igor Chubin
5b240c590e Print PREFETCH only when prefetching 2022-11-20 17:54:42 +01:00
Igor Chubin
d4e96dbf3a Write HTTP errors to log 2022-11-20 17:53:51 +01:00
Igor Chubin
d804310586 Add cmd/logsuppress.go 2022-11-20 17:45:06 +01:00
Igor Chubin
ff4f258f2d Don't redirect if TLS is already in use 2022-11-20 14:00:59 +01:00
Igor Chubin
b2b918637e Use custom servers/timeouts for HTTP/HTTPS 2022-11-20 14:00:37 +01:00
Igor Chubin
bef93212c3 Add https support 2022-11-20 10:03:31 +01:00
Igor Chubin
5bb0c4f1fe Move server config to Config struct 2022-11-19 19:34:11 +01:00
Igor Chubin
7d801e3b4d Fix Makefile 2022-11-19 19:20:44 +01:00
Igor Chubin
a8e8aa7a52 Activate insternal access logging 2022-11-19 19:20:35 +01:00
Igor Chubin
d9afb06ac5 Add cmd/config.go 2022-11-19 19:19:42 +01:00
Igor Chubin
c77c1227d5 Add cmd/log.go 2022-11-19 19:19:25 +01:00
Igor Chubin
87c93f1d06 Add go.* 2022-11-16 17:21:28 +01:00
Igor Chubin
66111b1fdd Add Makefile 2022-11-16 17:21:07 +01:00
Igor Chubin
8f433de15a Split proxy access and errors logs 2022-10-26 08:41:20 +02:00
Igor Chubin
34684cb264 Add share/translations/gu* (#774) 2022-10-25 19:26:17 +02:00
Igor Chubin
284d3ae992 Merge branch 'master' of https://github.com/chubin/wttr.in 2022-10-25 19:22:45 +02:00
Igor Chubin
0be2669412 Increase expiration interval 2022-10-25 19:21:11 +02:00
Igor Chubin
ea1f93282f Move query wrapper to a separate function 2022-10-25 19:20:49 +02:00
Igor Chubin
4e861802c0 Add PROXY_LOG_FILE to globals 2022-10-25 19:20:19 +02:00
Igor Chubin
cedf3b58d6 Add proxy queries logging 2022-10-25 19:18:07 +02:00
Igor Chubin
e4d4ebc41f Add lib/proxy_log.py 2022-10-25 19:16:48 +02:00
Igor Chubin
b5ee05aaee Add share/translations/messages/gu.yaml (#774) 2022-10-24 20:18:05 +02:00
Igor Chubin
2eda939a8b Add share/translations/messages/en.yaml 2022-10-24 20:06:14 +02:00
Igor Chubin
5a22d31839 Use English unit names when needed (#755) 2022-10-22 19:57:03 +02:00
Igor Chubin
25797c21d5 Mention Diego Blanco in translation.txt (#756) 2022-10-22 17:28:17 +02:00
Igor Chubin
692dabb88c Add 'gl' to proxy langs (#756) 2022-10-22 17:25:54 +02:00
Igor Chubin
2bc8e2447c Add go.sum for we-lang 2022-10-22 17:18:58 +02:00
Igor Chubin
bd17db670b
Merge pull request #791 from nfsec/patch-1
Docker build failed after split we-lang.go into several files
2022-10-22 17:09:17 +02:00
Igor Chubin
1a35ca7f5d
Merge pull request #753 from kcm/patch-1
Nice update to preconfig formats
2022-10-22 17:07:49 +02:00
Igor Chubin
e5f0961303
Merge pull request #756 from diego-treitos/master
Added galician translation
2022-10-22 17:04:41 +02:00
Igor Chubin
7fda848692
Merge pull request #757 from Layerex/russian-translations
Add missing russian translations from #535
2022-10-22 16:55:06 +02:00
Igor Chubin
eb855b043e
Merge pull request #763 from lakejason0/patch-1
Fix wording in zh-cn-help.txt and zh-tw-help.txt
2022-10-22 16:49:19 +02:00
Igor Chubin
d53388f82b
Merge pull request #764 from pataquets/patch-1
Add Catalan to v2 footer strings.
2022-10-22 16:48:06 +02:00
Igor Chubin
ab21f64f26
Merge pull request #770 from Barry1/patch-1
Just switched the columns in line 10
2022-10-22 16:45:45 +02:00
Igor Chubin
5fa163bd03
Merge pull request #789 from Manan006/emoji_fix
Emoji Fix
2022-10-22 16:43:47 +02:00
Igor Chubin
9f49dfe9ce
Merge pull request #792 from Elvis020/master
Updated Malayalam translation for afternoon
2022-10-22 16:41:19 +02:00
Elvis020
d1e4ef9224 Updated Malayalam translation for afternoon with a more commonly used word 2022-10-15 18:34:12 +00:00
Patryk Krawaczyński
3e006c4163
Docker build failed after split we-lang.go into several files
COPY failed: file not found in build context or excluded by .dockerignore: stat share/we-lang/we-lang.go: file does not exist
COPY failed: stat app/we-lang: file does not exist
2022-10-14 13:33:13 +02:00