freebsd-ports/www/kanboard/Makefile

46 lines
967 B
Makefile
Raw Normal View History

# $FreeBSD$
PORTNAME= kanboard
DISTVERSIONPREFIX= v
www/kanboard: Update to 1.2.8 While I'm here: * Convert PORTVERSION to DISTVERSION * Move related variables to USES block * Update requirements for the MYSQL option since PHP 5.x has gone from the ports tree * Add MYSQL_USES as USE_MYSQL is deprecated Changelog: Breaking Changes: * Authorize only API tokens when 2FA is enabled (no user password) * Disable by default plugin installer for security reasons: - There is no code review or any approval process to submit a plugin. - This is up to the Kanboard instance owner to validate if a plugin is legit. Fixes and Improvements: * Limit avatar image size * Avoid CSRF in users CSV import * Avoid XSS in pagination sorting * Do not show projects dropdown when prompting the 2FA code * Always returns a 404 instead of 403 to avoid people discovering users * Check if user role has changed while the session is open * Add missing CSRF check in TwoFactorController::deactivate() * Hide edit button when user cannot edit task * Fix permission check before "Assign to me" * Fix permission check before showing project options * Fix assignable users on a group with a custom role * Fix import of automatic actions when parameters are "unassigned" or "no category" * Update license year * Update Docker image to Alpine 3.9 * Update translations * Fix PHP error in task views (tag colors) * Limit assignee drop-down selector scope PR: 235712 Submitted by: Alexander <sa.inbox@gmail.com> Approved by: tcberner (mentor), maintainer timeout Differential Revision: https://reviews.freebsd.org/D19217
2019-02-27 17:07:48 +01:00
DISTVERSION= 1.2.8
CATEGORIES= www
MAINTAINER= bsd@if0.eu
- Update to version 1.0.28 [1] - Fix recursive COMMENT ## New features: * Added automated action to change task color based on the priority * Added support for LDAP Posix Groups (OpenLDAP with memberUid or groupOfNames) * Added support for LDAP user photo attribute (Avatar image) * Added support for language LDAP attribute * Added support for Mysql SSL connection * Search in activity stream * Search in comments * Search by task creator * Added command line utility to reset user password and to disable 2FA ## Improvements: * Improve Avatar upload form * User roles are now synced with LDAP at each login * Improve web page title on the task view * Unify task drop-down menu between different views * Improve LDAP user group membership synchronization * Category and user filters do not append anymore in search field * Added more template hooks * Added tasks search with the API * Added priority field to API procedures * Added API procedure "getMemberGroups" * Added parameters for overdue tasks notifications: group by projects and send only to managers * Allow people to install Kanboard outside of the DocumentRoot * Allow plugins to be loaded from another folder * Filter/Lexer/QueryBuilder refactoring ## Bug fixes: * Allow a project owner to manage his own public project * Fixed PHP warning when removing a user with no Avatar image * Fixed improper Markdown escaping for some tooltips * Closing all tasks by column, also update closed tasks * Fixed wrong task link generation within Markdown text * Fixed wrong URL on comment toggle link for sorting * Fixed form submission with Meta+Enter keyboard shortcut * Removed PHP notices in comment suppression view PR: 209633 [1] Submitted by: ronald.valente@gmail.com Approved by: maintainer
2016-05-27 14:27:38 +02:00
COMMENT= Simple visual task board software
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= php
www/kanboard: Update to 1.2.8 While I'm here: * Convert PORTVERSION to DISTVERSION * Move related variables to USES block * Update requirements for the MYSQL option since PHP 5.x has gone from the ports tree * Add MYSQL_USES as USE_MYSQL is deprecated Changelog: Breaking Changes: * Authorize only API tokens when 2FA is enabled (no user password) * Disable by default plugin installer for security reasons: - There is no code review or any approval process to submit a plugin. - This is up to the Kanboard instance owner to validate if a plugin is legit. Fixes and Improvements: * Limit avatar image size * Avoid CSRF in users CSV import * Avoid XSS in pagination sorting * Do not show projects dropdown when prompting the 2FA code * Always returns a 404 instead of 403 to avoid people discovering users * Check if user role has changed while the session is open * Add missing CSRF check in TwoFactorController::deactivate() * Hide edit button when user cannot edit task * Fix permission check before "Assign to me" * Fix permission check before showing project options * Fix assignable users on a group with a custom role * Fix import of automatic actions when parameters are "unassigned" or "no category" * Update license year * Update Docker image to Alpine 3.9 * Update translations * Fix PHP error in task views (tag colors) * Limit assignee drop-down selector scope PR: 235712 Submitted by: Alexander <sa.inbox@gmail.com> Approved by: tcberner (mentor), maintainer timeout Differential Revision: https://reviews.freebsd.org/D19217
2019-02-27 17:07:48 +01:00
USE_PHP= ctype curl dom gd hash filter iconv json mcrypt mbstring \
openssl pdo session simplexml zlib xml
USE_GITHUB= yes
NO_BUILD= yes
NO_ARCH= yes
KANBOARD_USERNAME?= www
KANBOARD_GROUPNAME?= ${KANBOARD_USERNAME}
PLIST_SUB= KANBOARD_USERNAME=${KANBOARD_USERNAME} \
KANBOARD_GROUPNAME=${KANBOARD_GROUPNAME}
OPTIONS_MULTI= DB
OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT= SQLITE
OPTIONS_DEFINE= OPCACHE
OPCACHE_DESC= OPcache support (recommended)
www/kanboard: Update to 1.2.8 While I'm here: * Convert PORTVERSION to DISTVERSION * Move related variables to USES block * Update requirements for the MYSQL option since PHP 5.x has gone from the ports tree * Add MYSQL_USES as USE_MYSQL is deprecated Changelog: Breaking Changes: * Authorize only API tokens when 2FA is enabled (no user password) * Disable by default plugin installer for security reasons: - There is no code review or any approval process to submit a plugin. - This is up to the Kanboard instance owner to validate if a plugin is legit. Fixes and Improvements: * Limit avatar image size * Avoid CSRF in users CSV import * Avoid XSS in pagination sorting * Do not show projects dropdown when prompting the 2FA code * Always returns a 404 instead of 403 to avoid people discovering users * Check if user role has changed while the session is open * Add missing CSRF check in TwoFactorController::deactivate() * Hide edit button when user cannot edit task * Fix permission check before "Assign to me" * Fix permission check before showing project options * Fix assignable users on a group with a custom role * Fix import of automatic actions when parameters are "unassigned" or "no category" * Update license year * Update Docker image to Alpine 3.9 * Update translations * Fix PHP error in task views (tag colors) * Limit assignee drop-down selector scope PR: 235712 Submitted by: Alexander <sa.inbox@gmail.com> Approved by: tcberner (mentor), maintainer timeout Differential Revision: https://reviews.freebsd.org/D19217
2019-02-27 17:07:48 +01:00
MYSQL_USES= mysql
MYSQL_USE= PHP=pdo_mysql,mysqli
PGSQL_USES= pgsql
PGSQL_USE= PHP=pdo_pgsql,pgsql
SQLITE_USE= PHP=pdo_sqlite,sqlite3
OPCACHE_USE= PHP=opcache
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>