Commit graph

9 commits

Author SHA1 Message Date
Rodolphe Breard
a5e7aa3dd5 Add support for timestamp based serial.
Some people uses the current timestamp for the DNS serial number. The
current implementation detects timestamps between September 9 2001 and
March 17 2030. Implementing it has reduced the date based serial
detection to a range between 1900 and 2999, however it should not be a
problem at all because DNS didn't existed before 1900 and, if it still
exists in 3000, there is literally almost 1000 years to fix the problem.
2015-11-16 12:17:30 +01:00
Rodolphe Breard
c296d354b2 Update the code type in the README.
The sample custom patterns were defined as `json`, which doesn't renders
nicely on GitHub. They are now defined as `js` which is much more
readable.
2015-11-15 00:06:58 +01:00
Rodolphe Breard
317389ec31 Add the support for multiple formats.
Some people does not use the common YYYYMMDDXX format and/or does not
want to use the "; serial" comment right after the serial number. This
commit allow multiple formats to be defined, hense more users can use
the plugin. A huge consequence of this is that user can also define
additional custom formats depending on their needs.
2015-11-15 00:02:46 +01:00
Rodolphe Breard
acc6dd81e1 Add a Patterns section to the README.
The documentation on how the DNS serial number have to be formated was
missing. Even if the pattern is very common, it is important to specify
it.
2015-11-14 19:32:44 +01:00
Rodolphe Breard
2f1756485c Add a Usage section in the README.
Users shouldn't have to guess neither that the plugin auto-updates the
DNS serial number nor the name of the function to call to manually
update it.
2015-11-14 19:12:03 +01:00
Rodolphe Breard
a4c03b38a5 Add the possibility to turn off the automatic serial update.
Some users may want to explicitly update the DNS serial number. Instead
of forcing them to update on each write, a new configuration option is
used so they can chose turn it off.
2015-11-14 19:05:12 +01:00
Rodolphe Breard
d54d2f0991 Add a badge with the license.
Using such a badge allows the user to quickly identify the license.
2015-11-09 11:28:56 +01:00
Rodolphe Breard
0c5a670463 Add a "why?" section in the readme.
Knowing why this plugin has been written may help users to use it
instead of the old one.
2015-10-18 01:17:31 +02:00
Rodolphe Breard
4d316538e8 Initial commit. 2015-10-18 00:59:31 +02:00