Until this commit we have defined page sizes as global consts in our
plugins, this might result in some duplicated code if the page size is
needed in both politeiawww & politeiad.
This resolves the issue mentioned above by defining the plugins page
sizes as plugin setting, that way we have it available in both places
and easily configurable by sys admin without any code changes.
Until this commit we have defined page sizes as global consts in our plugins, this might result in some duplicated code if the page size is needed in both
politeiawww
&politeiad
.This resolves the issue mentioned above by defining the plugins page sizes as plugin setting, that way we have it available in both places and easily configurable by sys admin without any code changes.
Closes #1603.