Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add roles and task blocking #873

Open
wants to merge 65 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
a5971b4
Add Docker support
Shkiv Aug 24, 2021
6b377a2
+1
Shkiv Aug 24, 2021
0729b32
Fix paths
Shkiv Aug 24, 2021
480a07f
Use local sources for dev
Shkiv Aug 24, 2021
72ae91e
Move local sources to compose
Shkiv Aug 26, 2021
cfa1619
Change: Roles, Documents
AleksandrMaidanuyk Oct 31, 2021
aff768d
T9586: first version of time tracker
WilkGithub Nov 1, 2021
67ba509
Fixed: db role, slug requests, add patches for role
AleksandrMaidanuyk Nov 2, 2021
1dea50c
Merge branch 'docker' of https://github.com/moonmana-games/phabricato…
AleksandrMaidanuyk Nov 2, 2021
55d2d5b
fix patches for updating the "role" database.
AleksandrMaidanuyk Nov 3, 2021
d7e9369
add patch for "role"
AleksandrMaidanuyk Nov 3, 2021
e928ee9
add new icon and picture for "art"
AleksandrMaidanuyk Nov 3, 2021
2f7c7ad
T9586: ugly date form replaced with datepicker, fixed bug with negati…
WilkGithub Nov 4, 2021
e8fdbd7
fix "table already exists at" exceptions + fix storage upgrade when t…
WilkGithub Nov 4, 2021
ec3f39c
fixed bugs related to tasks and projects
AleksandrMaidanuyk Nov 4, 2021
45cf5b1
fix workboard projects
AleksandrMaidanuyk Nov 5, 2021
c445783
T9586: alignment fixes of boxes, order of pages fixed, forms visuals …
WilkGithub Nov 5, 2021
04339ce
T9586: added success/fail response panel for tracking time, added day…
WilkGithub Nov 9, 2021
c968de3
T9586: second date range is not mandatory now
WilkGithub Nov 16, 2021
51ad311
rename const and fix demons crash
AleksandrMaidanuyk Nov 26, 2021
462206e
Update MariaDB 10.2 -> 10.5
Shkiv Dec 23, 2021
699a645
timetracker fix
WilkGithub Jan 24, 2022
dbab6fe
Merge branch 'dev'
Shkiv Jan 31, 2022
b20e807
Update PHP 7.3 -> 7.4
Shkiv Jan 31, 2022
3addbc9
Add script to change project parentness
Shkiv Jan 31, 2022
4089214
box with total time tracked today and in current month added
WilkGithub Feb 1, 2022
ed3e2fc
changed base page url roles
AleksandrMaidanuyk Jun 22, 2022
63e0308
Added fix drop daemon + fix deduction hours (timetracer module)
AleksandrMaidanuyk Aug 2, 2022
915b54d
add new 2 modules + new function for timetracked (track time on project)
AleksandrMaidanuyk Aug 31, 2022
c1c3ddb
add new feature for timetracker + fix bug when user selected many pro…
AleksandrMaidanuyk Sep 6, 2022
e37fb60
add new icons for new modules + add new feature for timetracker + fix…
AleksandrMaidanuyk Sep 6, 2022
e049afe
relocate modules from extensions in applications
AleksandrMaidanuyk Sep 15, 2022
89206e6
fix tags in phabricator
AleksandrMaidanuyk Sep 16, 2022
956afa8
Change chart label
Shkiv Mar 21, 2023
dad67e2
+1
Shkiv Mar 21, 2023
ea539da
Use phabricator src copy instead of mount
Shkiv Mar 31, 2023
a9c7258
Increase LimitRequestBody
Shkiv Apr 3, 2023
3b2723b
Revert "Increase LimitRequestBody"
Shkiv Apr 3, 2023
5dcf9ab
Tune up MySQL
Shkiv Apr 3, 2023
f265b56
Fix timetracker sql autopatch
Shkiv Apr 20, 2023
d129986
Add mysql client to make './bin/storage dump' working
Shkiv May 11, 2023
e0a8a98
Fix /var/data
Shkiv May 16, 2023
a1fe83d
+1
Shkiv May 16, 2023
7a96309
Remove obsolete
Shkiv Aug 5, 2024
1e38e84
Remove unused images
Shkiv Aug 7, 2024
6fc6260
Add roles support to Conduit
Shkiv Sep 12, 2024
e01f23d
Add task blockers
Shkiv Sep 17, 2024
8ea087d
Update UI
Shkiv Sep 19, 2024
1750df7
Merge remote-tracking branch 'github.com/master' into php8
Shkiv Sep 24, 2024
2e8cb29
Update Docker image
Shkiv Sep 24, 2024
1eb1b8c
Update map.php
Shkiv Sep 25, 2024
e3b879a
Update deps
Shkiv Sep 25, 2024
dd97625
Update roles for PHP 8
Shkiv Sep 25, 2024
3310a2f
Fix autopatch
Shkiv Sep 26, 2024
8efdbbc
Update infrastructure/customfield for PHP 8
Shkiv Sep 26, 2024
93ceb06
Update applications/project for PHP 8
Shkiv Sep 27, 2024
c2be953
Fix nulls in PHP8
Shkiv Sep 30, 2024
f3b757a
Fix crash in with custom fields
Shkiv Sep 30, 2024
9fc0eb9
Fix crash in ManiphestReportController
Shkiv Oct 2, 2024
50e6cb6
Fix Mail app for PHP 8
Shkiv Oct 7, 2024
afc6540
Fix crash in user registration
Shkiv Oct 17, 2024
8e14d96
Fix different crashes
Shkiv Nov 6, 2024
a2547d2
Fix mail sending
Shkiv Nov 6, 2024
edae118
Use auto EOL for PHP
Shkiv Nov 7, 2024
cf67ef6
Change default view policy for dropped files
Shkiv Nov 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
# Users can link binaries here
/support/bin/*

# User extensions
/src/extensions/*

# NPM local packages
/support/aphlict/server/node_modules/
/support/aphlict/server/package.json
Expand Down
134 changes: 134 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
##### Start Phabricator
FROM php:8.2-apache
##### End Phabricator

LABEL org.opencontainers.image.source https://github.com/moonmana-games/phabricator

# Required Components
# @see https://secure.phabricator.com/book/phabricator/article/installation_guide/#installing-required-comp
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates \
git \
imagemagick \
libzip4 \
mariadb-client \
mercurial \
# @see https://secure.phabricator.com/w/guides/dependencies/
# provides ssh-keygen and ssh, these are needed to sync ssh repositories
openssh-client \
procps \
# @see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944908
python3-pkg-resources \
python3-pygments \
subversion \
&& rm -rf /var/lib/apt/lists/*

# install the PHP extensions we need
RUN set -ex; \
\
if command -v a2enmod; then \
# Phabricator needs mod_rewrite for rewritting to index.php
a2enmod rewrite; \
fi; \
\
savedAptMark="$(apt-mark showmanual)"; \
\
apt-get update; \
apt-get install -y --no-install-recommends \
libcurl4-gnutls-dev \
libfreetype6-dev \
libjpeg62-turbo-dev \
libonig-dev \
libpng-dev \
libzip-dev \
libzip4 \
; \
\
docker-php-ext-configure gd \
--with-jpeg=/usr \
--with-freetype=/usr \
; \
\
docker-php-ext-install -j "$(nproc)" \
gd \
opcache \
mbstring \
iconv \
mysqli \
curl \
pcntl \
zip \
; \
\
# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
apt-mark auto '.*' > /dev/null; \
apt-mark manual ${savedAptMark}; \
ldd "$(php -r 'echo ini_get("extension_dir");')"/*.so \
| awk '/=>/ { print $3 }' \
| sort -u \
| xargs -r dpkg-query -S \
| cut -d: -f1 \
| sort -u \
| xargs -rt apt-mark manual; \
\
apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/*

RUN pecl channel-update pecl.php.net \
&& pecl install apcu \
&& docker-php-ext-enable apcu

# set recommended PHP.ini settings
# see https://secure.php.net/manual/en/opcache.installation.php
RUN { \
echo 'opcache.memory_consumption=128'; \
echo 'opcache.interned_strings_buffer=8'; \
echo 'opcache.max_accelerated_files=4000'; \
echo 'opcache.revalidate_freq=60'; \
echo 'opcache.fast_shutdown=1'; \
# From Phabricator
echo 'opcache.validate_timestamps=0'; \
} > /usr/local/etc/php/conf.d/opcache-recommended.ini

# Set the default timezone.
RUN { \
echo 'date.timezone="UTC"'; \
} > /usr/local/etc/php/conf.d/timezone.ini

# File Uploads
RUN { \
echo 'post_max_size=32M'; \
echo 'upload_max_filesize=32M'; \
} > /usr/local/etc/php/conf.d/uploads.ini

# Repository Folder.
RUN mkdir /var/repo \
&& chown www-data:www-data /var/repo

# Data Folder.
RUN mkdir /var/data \
&& chown www-data:www-data /var/data

##### Start Phabricator
RUN { \
echo '<VirtualHost *:80>'; \
echo ' RewriteEngine on'; \
echo ' RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]'; \
echo ' LimitRequestBody 33554432'; \
echo '</VirtualHost>'; \
} > /etc/apache2/sites-available/000-default.conf
##### End Phabricator

# Clone phabricator
COPY ./ /opt/phabricator
RUN git clone https://github.com/phacility/arcanist /opt/arcanist

WORKDIR /opt/phabricator

##### Start Phabricator
RUN rmdir /var/www/html; \
ln -sf /opt/phabricator/webroot /var/www/html;
##### End Phabricator

ENV PATH "$PATH:/opt/phabricator/bin"
22 changes: 22 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
services:
phabricator:
build: ./
image: phabricator/phabricator
volumes:
- config:/opt/phabricator/conf/local
- repo:/var/repo
ports:
- 8888:80
links:
- database
database:
image: mariadb:10.5
volumes:
- db-data:/var/lib/mysql
- ./mysql.cnf:/etc/mysql/conf.d/mysql.cnf:ro
environment:
MYSQL_ROOT_PASSWORD: CHANGEME
volumes:
config:
repo:
db-data:
11 changes: 4 additions & 7 deletions externals/phpmailer/class.smtp.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public function Data($msg_data) {

$max_line_length = 998; // used below; set here for ease in change

while(list(,$line) = @each($lines)) {
foreach ($lines as $line) {
$lines_out = null;
if($line == "" && $in_headers) {
$in_headers = false;
Expand Down Expand Up @@ -414,12 +414,9 @@ public function Data($msg_data) {
$lines_out[] = $line;

// send the lines to the server
while(list(,$line_out) = @each($lines_out)) {
if(strlen($line_out) > 0)
{
if(substr($line_out, 0, 1) == ".") {
$line_out = "." . $line_out;
}
foreach ($lines_out as $line_out) {
if(strlen($line_out) > 0 && substr($line_out, 0, 1) == ".") {
$line_out = "." . $line_out;
}
fputs($this->smtp_conn,$line_out . $this->CRLF);
}
Expand Down
5 changes: 5 additions & 0 deletions mysql.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[mysqld]
sql_mode=STRICT_ALL_TABLES
max_allowed_packet=33554432
innodb_buffer_pool_size=1600M
local_infile=0
Binary file added resources/builtin/roles/fa-android.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-apple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-beer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-bomb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-book.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-briefcase.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-bug.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-building.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-calendar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-camera-retro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-chrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-cloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-coffee.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-comments.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-credit-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-database.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-diamond.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-empire.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-envelope.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-fax.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-film.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-firefox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-flag-checkered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added resources/builtin/roles/fa-flask.png
Binary file added resources/builtin/roles/fa-folder.png
Binary file added resources/builtin/roles/fa-gamepad.png
Binary file added resources/builtin/roles/fa-gears.png
Binary file added resources/builtin/roles/fa-google.png
Binary file added resources/builtin/roles/fa-hand-peace-o.png
Binary file added resources/builtin/roles/fa-hashtag.png
Binary file added resources/builtin/roles/fa-heart.png
Binary file added resources/builtin/roles/fa-internet-explorer.png
Binary file added resources/builtin/roles/fa-key.png
Binary file added resources/builtin/roles/fa-legal.png
Binary file added resources/builtin/roles/fa-linux.png
Binary file added resources/builtin/roles/fa-lock.png
Binary file added resources/builtin/roles/fa-map-marker.png
Binary file added resources/builtin/roles/fa-microphone.png
Binary file added resources/builtin/roles/fa-mobile.png
Binary file added resources/builtin/roles/fa-money.png
Binary file added resources/builtin/roles/fa-phone.png
Binary file added resources/builtin/roles/fa-pie-chart.png
Binary file added resources/builtin/roles/fa-rebel.png
Binary file added resources/builtin/roles/fa-reddit-alien.png
Binary file added resources/builtin/roles/fa-safari.png
Binary file added resources/builtin/roles/fa-search.png
Binary file added resources/builtin/roles/fa-server.png
Binary file added resources/builtin/roles/fa-shopping-cart.png
Binary file added resources/builtin/roles/fa-sitemap.png
Binary file added resources/builtin/roles/fa-star.png
Binary file added resources/builtin/roles/fa-tablet.png
Binary file added resources/builtin/roles/fa-tag.png
Binary file added resources/builtin/roles/fa-tags.png
Binary file added resources/builtin/roles/fa-trash-o.png
Binary file added resources/builtin/roles/fa-truck.png
Binary file added resources/builtin/roles/fa-twitter.png
Binary file added resources/builtin/roles/fa-umbrella.png
Binary file added resources/builtin/roles/fa-university.png
Binary file added resources/builtin/roles/fa-user-secret.png
Binary file added resources/builtin/roles/fa-user.png
Binary file added resources/builtin/roles/fa-users.png
Binary file added resources/builtin/roles/fa-warning.png
Binary file added resources/builtin/roles/fa-wheelchair.png
Binary file added resources/builtin/roles/fa-windows.png
Binary file added resources/builtin/roles/v3/archive.png
Binary file added resources/builtin/roles/v3/art.png
Binary file added resources/builtin/roles/v3/basic-book.png
Binary file added resources/builtin/roles/v3/book.png
Binary file added resources/builtin/roles/v3/briefcase.png
Binary file added resources/builtin/roles/v3/bug.png
Binary file added resources/builtin/roles/v3/calendar.png
Binary file added resources/builtin/roles/v3/clipboard.png
Binary file added resources/builtin/roles/v3/cloud.png
Binary file added resources/builtin/roles/v3/code.png
Binary file added resources/builtin/roles/v3/contact.png
Binary file added resources/builtin/roles/v3/creditcard.png
Binary file added resources/builtin/roles/v3/database.png
Binary file added resources/builtin/roles/v3/desktop.png
Binary file added resources/builtin/roles/v3/discussion.png
Binary file added resources/builtin/roles/v3/download.png
Binary file added resources/builtin/roles/v3/experimental.png
Binary file added resources/builtin/roles/v3/flag.png
Binary file added resources/builtin/roles/v3/folder.png
Binary file added resources/builtin/roles/v3/gears.png
Binary file added resources/builtin/roles/v3/gold.png
Binary file added resources/builtin/roles/v3/home.png
Binary file added resources/builtin/roles/v3/library.png
Binary file added resources/builtin/roles/v3/lightbulb.png
Binary file added resources/builtin/roles/v3/lock.png
Binary file added resources/builtin/roles/v3/mail.png
Binary file added resources/builtin/roles/v3/manage.png
Binary file added resources/builtin/roles/v3/marker.png
Binary file added resources/builtin/roles/v3/mobile.png
Binary file added resources/builtin/roles/v3/one-server.png
Binary file added resources/builtin/roles/v3/organization.png
Binary file added resources/builtin/roles/v3/people.png
Binary file added resources/builtin/roles/v3/piechart.png
Binary file added resources/builtin/roles/v3/police-badge.png
Binary file added resources/builtin/roles/v3/purchase-order.png
Binary file added resources/builtin/roles/v3/robot.png
Binary file added resources/builtin/roles/v3/rocket.png
Binary file added resources/builtin/roles/v3/servers.png
Binary file added resources/builtin/roles/v3/shield.png
Binary file added resources/builtin/roles/v3/silver.png
Binary file added resources/builtin/roles/v3/sitemap.png
Binary file added resources/builtin/roles/v3/support.png
Binary file added resources/builtin/roles/v3/sword.png
Binary file added resources/builtin/roles/v3/tag.png
Binary file added resources/builtin/roles/v3/three-servers.png
Binary file added resources/builtin/roles/v3/trash.png
Binary file added resources/builtin/roles/v3/truck.png
Binary file added resources/builtin/roles/v3/two-servers.png
Binary file added resources/builtin/roles/v3/umbrella.png
Binary file added resources/builtin/roles/v3/upload.png
Binary file added resources/builtin/roles/v3/wand.png
Loading