Commit graph

706 commits

Author SHA1 Message Date
Khanh Ngo 8ea00b9484
Refactoring the code
- Use Flask blueprint
- Split model and views into smaller parts
- Bug fixes
- API adjustment
2019-12-02 10:32:03 +07:00
Khanh Ngo 0b2eb0fbf8 Merge branch 'split-up-update-method' 2019-09-25 11:47:45 +07:00
Khanh Ngo d31f95ca21 Merge remote-tracking branch 'in0th3p/split-up-update-method' 2019-09-25 11:47:34 +07:00
Khanh Ngo ad86f8ea2a
Remove blank lines and spaces 2019-09-25 11:45:03 +07:00
Khanh Ngo 89ac98acfb
Merge pull request #547 from Jamesits/master
fix #542
2019-09-16 11:49:04 +07:00
Khanh Ngo 7af76297de
Merge pull request #557 from tingvold/natural-sort
Add natural sort library
2019-09-16 11:47:34 +07:00
Joachim Tingvold 16669e6bbf Add natural sort library, so that natural sort works again. 2019-09-15 15:29:22 +02:00
James Swineson 0318000429 address https://github.com/ngoduykhanh/PowerDNS-Admin/issues/542 2019-07-24 15:40:11 +08:00
Benjamin Sturm a21d4d9cbd split up update function add/delete/update 2019-07-23 13:36:05 +02:00
Khanh Ngo dfce7eb537
Upgrade SQLAlchemy version to pass the security check. Set version for other libs in requirements.txt 2019-07-15 09:50:23 +07:00
Khanh Ngo 26db6b8c4b
Merge pull request #531 from pfak/master
Standard compliant HTTP Response codes
2019-07-15 09:49:00 +07:00
Peter Kieser 6e51ad866a Standard compliant HTTP Response codes 2019-07-14 19:11:00 -07:00
Khanh Ngo 798362c3c5 Merge remote-tracking branch 'Jamesits/master' 2019-07-15 09:07:51 +07:00
James Swineson 71a87dc38f pkg-config is not used 2019-07-13 09:01:41 +08:00
James Swineson 7878ecda2a allow setting gunicorn default args via environment variables 2019-07-12 22:20:59 +08:00
James Swineson d8bb62900d simply upgrade database 2019-07-12 21:03:19 +08:00
James Swineson 8c85119f5c fix dockerfile 2019-07-12 20:53:31 +08:00
James Swineson 8e11686b7d temporary create config.py to make flask work 2019-07-12 20:15:45 +08:00
James Swineson 5d23c71bcb add the true yarn 2019-07-12 19:45:56 +08:00
James Swineson ed77afcdd6 yarn now do not need --pure-lockfile 2019-07-12 19:20:37 +08:00
James Swineson b77be8d158 add setuptools 2019-07-12 18:48:31 +08:00
James Swineson e6e512efaf initial implementation of Dockerfile 2019-07-12 17:10:15 +08:00
Khanh Ngo 8309bb053e
Merge pull request #516 from ngoduykhanh/dependabot/npm_and_yarn/cached-path-relative-1.0.2
Bump cached-path-relative from 1.0.1 to 1.0.2
2019-06-07 09:19:41 +07:00
dependabot[bot] 477165c196
Bump cached-path-relative from 1.0.1 to 1.0.2
Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/ashaffer/cached-path-relative/releases)
- [Commits](https://github.com/ashaffer/cached-path-relative/commits)
2019-05-23 11:33:46 +00:00
Khanh Ngo 53147188ef
Merge pull request #502 from in0th3p/extendedLoggingUpdateFunction
add a more comprehensive logging for domain_update
2019-05-01 09:19:33 +07:00
Khanh Ngo f6317eee33
Merge pull request #501 from in0th3p/comprehensiveLogging
added TimeStamp to logging
2019-05-01 09:18:39 +07:00
Khanh Ngo 5d8cc844aa
Merge pull request #500 from in0th3p/added_endpoint_update_domains
Added endpoint synchronize domains
2019-05-01 09:17:59 +07:00
Khanh Ngo 4d1953bf07
Merge pull request #499 from in0th3p/passwordRemoval
Removed API-Key and PlanePassword logging
2019-05-01 09:17:07 +07:00
Khanh Ngo 0522c20ce1
Merge pull request #497 from scop/spelling
Spelling fixes
2019-05-01 09:16:18 +07:00
Benjamin Wind 1acd246110 Add API-Endpoint and definition for update_domain
Enables updating/synchronizing domains in background
to avoid front end timing out when updating too many domains
2019-04-29 16:59:26 +02:00
Benjamin Wind b715e7738e add a more comprehensive logging for domain_update 2019-04-29 16:41:37 +02:00
Benjamin Wind 6a498382eb added TimeStamp to logging 2019-04-29 15:48:04 +02:00
Benjamin Wind 0db3c625e8 Removed API-Key and PlanePassword logging 2019-04-29 14:00:00 +02:00
Ville Skyttä ee73bb181f Spelling fixes 2019-04-25 16:02:49 +03:00
Khanh Ngo f95adf3ea3 Merge remote-tracking branch 'synthesio/improve-record-list-perf' 2019-04-01 22:12:53 +07:00
Khanh Ngo 00d92839fb Merge remote-tracking branch 'olemathias/master' 2019-04-01 21:46:45 +07:00
Khanh Ngo ae7b41ece2
Merge pull request #484 from genericpenguin/genericpenguin-escape-chars-groupsearchfilter
escape special chars when creating group filter.
2019-04-01 21:41:56 +07:00
Dejan Filipovic 8698009c30 Records entries should not required database requests for domain listing page
Create a new class just for storing records entries, without the Setting lookup
otherwise for each record it will make 4 SQL queries to retrieve something that
is not used.
2019-03-28 08:25:07 +01:00
Ole Mathias Aa. Heggem 15aeaef2ea Basic LUA record support + formatting cleanup of js in domains.html 2019-03-23 03:21:39 +01:00
genericpenguin 0ad5d46a4c
escape special chars when creating group filter.
The LDAP search filter used for group queries needs to be escaped so that group names with special characters will not break the search filter in queries.
2019-03-18 11:54:31 +11:00
Khanh Ngo 9f29a8e154
Merge pull request #477 from p53/patch-1
Improve README.md
2019-03-09 09:24:41 +07:00
p53 6a606dbe2c
Improve README.md
- add API to features
- make Entity Relationship generation command more generic
2019-03-04 12:27:25 +01:00
Khanh Ngo ee2ed65ff9 Merge branch 'improve-saml-support' 2019-03-04 09:19:20 +07:00
Tim Jacomb 334878d75d
Use display name of role 2019-03-03 15:08:01 +00:00
Tim Jacomb 08de197cff
Sync config templates 2019-03-03 15:07:51 +00:00
Tim Jacomb 292aaddaee
Improve SAML support
- Make SAML_WANT_MESSAGE_SIGNED configurable, AzureAD signs the assertion but wouldn't sign the message
- Add support for a name attribute, i.e. 'Tim Jacomb' using `SAML_ATTRIBUTE_NAME`, which will be mapped into the given and surname fields, AzureAD only has displayname
- Add support for group based admin `SAML_ATTRIBUTE_GROUP` and `SAML_GROUP_ADMIN_NAME`
- Add support for group based accounts `SAML_GROUP_TO_ACCOUNT_MAPPING`
- Don't fail if cert and key aren't present
2019-03-03 07:58:01 +00:00
Khanh Ngo 697aba0990
Merge pull request #474 from ngoduykhanh/update_themes
Update adminlte themes version. Fix #473
2019-03-02 11:21:52 +07:00
Khanh Ngo 0333f450f1
Update adminlte themes version 2019-03-02 10:17:11 +07:00
Khanh Ngo ff3b484d84
Merge pull request #440 from p53/create-api
Create api - resolves #416
2019-03-02 09:44:06 +07:00
Pavol Ipoth c4ab5893b4 Add README how to generate ER diagram 2019-03-02 00:51:41 +01:00