Use the original file URI if the transform is not available.
The preview generation is done on-demand when one visits a URL,
which is not easy to do from a baker.
NOTE: This branch is not to be deployed as a website, but instead
to be used as a client of a cluster (to have access to the database)
and run the baking script in a unattended mode.
A lot of tweaks all over the place to make the generated HTML suitable
for use in a static HTML with remapped paths to be relative and so on.
NOTE: Because of those tweaks the file rendering and access will not
work as expected when viewed from the website: it will be 404 because
it has different means accessing files than the static HTML. It is not
possible to keep website rendering correct, but it makes it harder to
investigate what parts needs attention without running the baker.
The baking script is found in `scripts/bake/bake_differential.php`
and it receives a single argument which is a directory with the baked
files.
Covers the following aspects:
- File attachments
- Image previews
- Pastes
The user avatars are replaced with the default user avatar.
This implements a convenient way to handle spam users, mimicking the steps the
admins already do manually:
Performed tasks:
* Disable Account
* Real Name -> "spam"
* Title -> ""
* Icon → ""
* Blurb → ""
* Profile Picture → default
This is disabling the account using the same functionality as the "Disable User"
button. And on top of that it replaces the account real name with "spam" and
wipe the other personal information.
Note that this doesn't delete any posts from the user.
Reviewers: sergey
https://developer.blender.org/D11904
Was a mistake in the way how key de-duplication and non-phabricator-managed
commit access was dealt with.
For now simple fix: make sure user list is unique. Proper fix would require
something more sophisticated.
This causes an extra file read, but the benefit is that it is easier
to compare data on the file system, quickly see what did actually change
and what did not.
Implements following rules:
- Users
- Users of any project
- Users of all projects
- Administrators
- Signers
The 'If No Rules Match' the access is implicitly considered to
be 'DENY'.
It is not possible to control access based on the Moon phase.
Implements following rules:
- Users
- Users of any project
- Users of all projects
- Administrators
- Signers
The 'If No Rules Match' the access is implicitly considered to
be 'DENY'.
It is not possible to control access based on the Moon phase.
This shows a 'reply' icon in the markup form header. The config to add more
canned responses is `maniphest.canned-responses`.
Note: There is no validation (other than json), so the config is expected to
match the required fields ('name' and 'message')
Note: This shows at all markups, so technically it can be used for patch
review and other places where canned reponses would fit.
Differential Revision: D8034