Commit Graph

17 Commits

Author SHA1 Message Date
neilpang
cfbc294832 fix onecom api 2021-04-14 22:18:01 +08:00
neil
19c4345162 fix shfmt 2020-08-17 22:18:20 +08:00
der-berni
da7b1fb014
cleanup according to styleguide / ShellCheck 2020-04-09 12:17:08 +02:00
der-berni
5fac282ee0
Update to work with new one.com procedure
Since some Months, its no longer possible to add TXT Records with the Name "_acme-challenge" to the base domain.
To override the fallback value, you must use a CNAME and proxy it.
For example.
CNAME _acme-challenge.yourdomain.com => proxy_acme-challenge.yourdomain.com
The TXT Records have to be created on proxy_acme-challenge.yourdomain.com

Since the default CNAME TTL is 3600 seconds, it is recommended to leave the CNAME record.
But if you would like to use the build-in SSL (for your web-site etc.) from one.com, you have to delete the record.

A new variable "ONECOM_KeepCnameProxy" you can set in the account.conf is used to keep the CNAME record.
By default the CNAME record will be removed.

For ex.: SAVED_ONECOM_KeepCnameProxy='1'
to keep the CNAME Record and speedup the process.
2020-04-07 19:25:39 +02:00
der-berni
1a5279bd6e
cleanup according to styleguide 2019-05-31 08:55:21 +02:00
der-berni
937d5b5472
try to remove errors in travis-ci 2019-05-31 08:26:48 +02:00
der-berni
89e73594eb
fixed error in CI 2019-05-25 17:35:40 +02:00
der-berni
a3089a719f
Updated to work with curl
Now works with curl.
Check the root domain.
2019-05-24 09:44:13 +02:00
der-berni
e340593ad1
Revert parameter changes
Revert ONECOM_PASSWORD back to ONECOM_Password
and ONECOM_USER back to ONECOM_User
2019-05-23 09:39:54 +02:00
der-berni
68b42a00e0
updated to work with one.com
rev command not found on OpenWrt
CURL does not work, using wget
JSESSIONID replaced with OneSIDCrmAdmin
CSRF_G_TOKEN not needed
2019-05-20 17:40:43 +02:00
neilpang
dac75a1dda rename 2019-05-03 20:50:42 +08:00
diseq
472ed721a3
fix format 2019-02-20 21:51:59 +01:00
diseq
ed3f2646f0
fix format 2019-02-20 11:54:48 +01:00
diseq
0499d2b5c4
remove line break 2019-02-20 11:51:06 +01:00
diseq
81ba629b56
allow set-cookie as well as Set-Cookie 2019-02-20 11:27:49 +01:00
diseq
0bb746ba39
Update dns_one.sh 2019-02-20 09:44:25 +01:00
dsc
9ff6d6e7b5 initial commit 2019-02-17 23:20:17 +01:00