Skip to content

Commit 6b71a83

Browse files
typhonrtdrdwingflamewave000BrotherSharperzeteticl
authored
FQL Reunification (#134)
* Enhancement for Issue #124: added completed or failed button to either state to move between these quest states directly. * Enhancement for Issue #122: Added context menu to quest tracker to select content entity link / primary quest. * Update to French translation for `v0.7.7` * Added message when no primary quest is available. * Update for French translation. * Enhancement issue #120: `lib-themer` support for entity link color. * Add more default font sizes for TinyMCE. Added back default `p` margin. * Updated German translation * Packs added back * Initial QuestTracker view management / docking * Updated German translation * v0.7.7 ko.json added new strings * Update icon styles and context menu support. * Initial docking support * Integrated questTrackerManaged setting. * Update macros on startup based on FQL client settings with image state. * Created HandlerTracker for event callbacks. Also documentation. * Added copy quest ID option to context menu; updated English / French language files. * removed unused styles * updated German translation * v0.7.7 ko.json * Match Foundry CSS classes for FQL app * Remove `Close` label from quest tracker header button. Add some padding for message when no primary quests are available in the quest tracker. * Removed questTrackerManaged setting. The QuestTracker will always be managed. * Moved render tracking for QuestTracker to SidebarManager and QuestPreview to ViewManager. * FoundryUIManager - now also controls SceneNavigation for QuestTracker pinning. * Comments * Add primary quest icon to management / subquests. * README / Changelog updates * 0.7.7 release * v0.7.7 ko.json edited false name & weird translation * updated 0.7.7 ko.json I'm sorry. This is the last fix. 😢 * Fixes an edge case due to timing of hooks for Mac / Chrome w/ Minimal UI. * Enhancement #137: Make QuestPreview minimizable. * Enhancement #138: Part 1 / QuestTracker constraints in hook. * Enhancement #138: Part 2 / QuestLog constraints in hook. * Added 'top' as a whitelisted variable * Enhancement #138: QuestTracker hook can also set show primary state. * Correct handlebar helper name to prevent conflicts Renamed the custom Handlebars Helper from `format` to `fql_format` to prevent potential conflicts with other modules. * Namespace custom handlebars helper * Fix for #140: url() usage in templates now includes quotes so filenames with parentheses render correctly. * 0.7.8 release * Patch to disable synthetic quest type registration for v9+ of Foundry preventing a hard crash of FQL. There is a replacement module / continuation of the quest log that is being released soon that will enable this functionality against with a different implementation. You can receive announcements when this is ready on the TyphonJS Discord server: https://discord.gg/mnbgN8f * Update changelog & README * Better version 9 check. * 0.7.9 release * update ja.json * Fix typos * Fix for Issue #13 - save state of quest before status change. * css dist update * add v9 "type" field to pack definitions. * 0.7.10 release * update for v10 `folder.contents` vs `folder.content`. * DataModel update for macroEntry access * Switch to CONST.DOCUMENT_PERMISSION_LEVELS * Added V10Compat for ownership access + TextEditor.enrichHTML * Update for editor handlebars helper v10 change. * Update for handling v10 UUID changes in drag and drop data transfer. * Update for handling macro drop data for v10. * Update for folder contents for v10. * added TinyMCE v6 oEmbed plugin * load TinyMCE v5 or v6 plugin. * TinyMCE options for v9 & v10 * quest link changed to journal entry link * update dev dependencies * add 'browserlist' to cut down on generated CSS * a few style tweaks for TinyMCE 6 * update CSS * fix sourcemap links * Move ViewManager init before DBMigrate * optional chaining for game.data.version * Remove unused QuestCollection * Handle reward item drag / only add 'data' for v9. * Added token and journal image compatibility support. * Explicitly render quest tracker if visible. * Update for ownership control dialog on v10. * Update for token & journal images for v10 * DB migration updates / added schema 3 for checking stale document link data and dnd5e v2 special handling. * comment * fix for content link selector * Fix for issue #14 - tracker app background w/ route prefix. * Added support for showing quest tracker background. * update styles * removed unused libthemer json config * Added show to players app header button for quest log and tracker for GMs. * added `isFQLMacroDataTransfer` * Fix FQL macro detection for compendium drops. * update for pt-BR lang translation * Fix hotbarDrop hook. * Firefox UX style fixes for thin scrollbar and quest tracker scrollbar color with transparent background. * update dist CSS * Added chat message summarizing any unlinked document data in DB migration. * fix chat message content. * normalize all translation data / add machine translation where necessary. * use localization for migration messaging * translation update * translation update * Update to Spanish translation thanks to ZRAAA78 (Raul) * Update zh-tw.json * Update zh-tw.json * Update zh-tw.json * Update zh-tw.json * initial machine translation * Add Finnish (fi-FI) translation * Make 'item' translation consistent * punctuation * Increased custom quest giver name length from 24 to 36 * refactor buttons / tooltips * Update localization references * Update localization references * Provide abbreviated reward button text. * Add Russian translation * update settings for objectives. * update status text * update status text * update templates for new lang keys * update min-width * style update * Added new language resources * Added auto height for FQLDialog * Allow dragging of quest from quest log from full 'li'. Add uuid in drop canvas hook. * Expand open quest hit box * organization refactor * code / template language organization refactor * language organization refactor status tooltips. * language organization refactor API keys. * language organization refactor top level labels. * language organization refactor DB migrate notifications. * language organization refactor quest details. * language organization refactor quest details. * punctuation * punctuation * punctuation * punctuation * punctuation * punctuation * remove QuestLog.Tabs in favor of QuestTypes.Labels * remove QuestLog.Tabs in favor of QuestTypes.Labels * punctuation. * punctuation. * corrections * punctuation * punctuation * add maximum compatibility: v10 * translation update. * Translated using Weblate (Finnish) Currently translated at 100.0% (152 of 152 strings) Translation: Forien's Quest Log/main Translate-URL: https://weblate.foundryvtt-hub.com/projects/forien-quest-log/main/fi/ * update CHANGELOG * update README * update README * fix quest tracker fill icon for v9 * fix for TinyMCE CSS URL / no need to apply `getRoute` as Foundry does automatically. * Translated using Weblate (Swedish) Currently translated at 100.0% (152 of 152 strings) Translation: Forien's Quest Log/main Translate-URL: https://weblate.foundryvtt-hub.com/projects/forien-quest-log/main/sv/ * fix for quest log copy link * remove unused dev dependencies * Fix for systems that overrode `or` handlebars helper. * Added translation using Weblate (Dutch) * Translated using Weblate (Dutch) Currently translated at 15.1% (23 of 152 strings) Translation: Forien's Quest Log/main Translate-URL: https://weblate.foundryvtt-hub.com/projects/forien-quest-log/main/nl/ * Translated using Weblate (Dutch) Currently translated at 88.8% (135 of 152 strings) Translation: Forien's Quest Log/main Translate-URL: https://weblate.foundryvtt-hub.com/projects/forien-quest-log/main/nl/ * Translated using Weblate (Dutch) Currently translated at 100.0% (152 of 152 strings) Translation: Forien's Quest Log/main Translate-URL: https://weblate.foundryvtt-hub.com/projects/forien-quest-log/main/nl/ * add lock file * update Utils.copyTextToClipboard * comments * add error checking * protect against invalid data transfer * Switch to async TextEditor.enrichHTML * QuestLog render now accepts tabId parameter to open a specific quest status tab. * update CHANGELOG * update README * 0.7.11 release * Added override for MCE Everywhere. * 0.7.12 update * update Rollup v3 * update external libs * Rename V10Compat to FVTTCompat * CSS rebuild * Removed prior ownership compatibility dialog. * small fix to not force render main log. * Translated using Weblate (Spanish) Currently translated at 100.0% (152 of 152 strings) Translation: Forien's Quest Log/main Translate-URL: https://weblate.foundryvtt-hub.com/projects/forien-quest-log/main/es/ * Translated using Weblate (Spanish) Currently translated at 100.0% (152 of 152 strings) Translation: Forien's Quest Log/main Translate-URL: https://weblate.foundryvtt-hub.com/projects/forien-quest-log/main/es/ * Translated using Weblate (Spanish) Currently translated at 100.0% (152 of 152 strings) Translation: Forien's Quest Log/main Translate-URL: https://weblate.foundryvtt-hub.com/projects/forien-quest-log/main/es/ * update CHANGELOG * add for packs * v11 LevelDB packs * remove unused config. * update README * Replace DOCUMENT_PREMISSION_LEVELS with DOCUMENT_OWNERSHIP_LEVELS * Updated FVTTCompat. v9 / v10 shims removed. * ES2022 private variables * ESLint fixes * ESLint fixes * Allow actors (IE item piles) to be assigned as rewards. * `console.log` to `console.warn` * Allow all rewards to have associated image changed. * Update packs * Update reward select image selector. * Fix MCE select width for format paragraph. * Player notes feature. * Player notes feature / lang updates. * CSS Updates * Remove oembed MCE v5 support. * Update dependencies. * update config * Update packs * Update version * Update README * Update build scripts * Switched to ProseMirror editor. * Update config. * Update external libs * Switch to normal sanitize method. * Add `getEditorContent` to FVTTCompat. * Disable legacy DB migration. * Update comments for proper linking and recent Foundry API doc links. * Update authors * Remove loading TinyMCE plugin. * Refactor `module private` #1 * Refactor UI control code. * Refactor view classes for named exports. * Refactor model classes for named exports. * Refactor control classes for named exports. * Move FVTTCompat / ModuleSettings to control. * Named exports for external libraries. * Disable eslint. * Add private constructor for static classes. * Refactor for ES2022. * Group util control classes. * Update QuestDB to ES2022. * comments. * Update CHANGELOG * Update README --------- Co-authored-by: drdwing <66671688+drdwing@users.noreply.github.com> Co-authored-by: flamewave000 <3588046+flamewave000@users.noreply.github.com> Co-authored-by: BrotherSharper <besardida@gmail.com> Co-authored-by: Sad <cougar.l@hotmail.com> Co-authored-by: Demian Wright <demian.git@gmail.com> Co-authored-by: Jonas Karlsson <jk@xdy.se> Co-authored-by: Kyra van den Berg <jasminneko@gmail.com> Co-authored-by: Zaen8 <tonilc88@gmail.com> Co-authored-by: Neil White <white.neil@gmail.com>
1 parent 62e8dfd commit 6b71a83

File tree

189 files changed

+17022
-5731
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+17022
-5731
lines changed

.editorconfig

+315
Large diffs are not rendered by default.

.eslintignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.github/
2+
docs/
3+
external/
4+
lang/
5+
scripts/
6+
styles/
7+
templates/

.eslintrc

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
/**
2+
* Loads https://github.com/typhonjs-node-config/typhonjs-config-eslint/blob/master/3.0/basic/es8/server/node/.eslintrc
3+
* Loads https://github.com/typhonjs-fvtt/eslint-config-foundry.js/blob/main/0.8.0.js
4+
*
5+
* NPM: https://www.npmjs.com/package/typhonjs-config-eslint
6+
* NPM: https://www.npmjs.com/package/@typhonjs-fvtt/eslint-config-foundry.js
7+
*/
8+
{
9+
// ESLint configs are prone to particular choices, so if the first config below doesn't work for you then replace
10+
// with one that you do prefer. The second config defines globals defined in `foundry.js` for use w/ `no-shadow`.
11+
"extends": [
12+
"@typhonjs-config/eslint-config/esm/2022/browser",
13+
"@typhonjs-fvtt/eslint-config-foundry.js"
14+
],
15+
16+
// Defines / overrides a few more environment parameters not provided in the configs above.
17+
"env": {
18+
"jquery": true
19+
},
20+
21+
// Prevents overwriting any built in globals particularly from `@typhonjs-fvtt/eslint-config-foundry.js`, but also
22+
// node & browser environments. `event / window.event` shadowing is allowed due to being a common variable name and
23+
// an uncommonly used browser feature.
24+
//
25+
// Note: if you are using Typescript you must use `@typescript-eslint/no-shadow`
26+
"rules": {
27+
"no-shadow": ["error", {
28+
"builtinGlobals": true,
29+
"hoist": "all",
30+
"allow": [
31+
"document",
32+
"event",
33+
"name",
34+
"parent",
35+
"status",
36+
"top"
37+
]
38+
}]
39+
}
40+
}

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
packs/** binary

.github/workflows/main.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# From https://github.com/League-of-Foundry-Developers/FoundryVTT-Module-Template/blob/master/.github/workflows/main.yml
2+
name: Release Creation
3+
4+
on:
5+
release:
6+
types: [published]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
# Substitute the Manifest and Download URLs in the module.json
15+
- name: Substitute Manifest and Download Links For Versioned Ones
16+
id: sub_manifest_link_version
17+
uses: microsoft/variable-substitution@v1
18+
with:
19+
files: 'module.json'
20+
env:
21+
version: ${{github.event.release.tag_name}}
22+
url: https://github.com/${{github.repository}}
23+
manifest: https://github.com/${{github.repository}}/releases/latest/download/module.json
24+
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.zip
25+
26+
# Create a zip file with all files required by the module to add to the release
27+
- run: zip -r ./module.zip module.json assets/ css/ database/ external/ lang/ packs/ scripts/ src/ styles/ templates/ LICENSE AUTHORS
28+
29+
# Create a release for this specific version
30+
- name: Update Release with Files
31+
id: create_version_release
32+
uses: ncipollo/release-action@v1
33+
with:
34+
allowUpdates: true # Set this to false if you want to prevent updating existing releases
35+
name: ${{ github.event.release.name }}
36+
draft: false
37+
prerelease: false
38+
token: ${{ secrets.GITHUB_TOKEN }}
39+
artifacts: './module.json, ./module.zip'
40+
tag: ${{ github.event.release.tag_name }}
41+
body: ${{ github.event.release.body }}
File renamed without changes.

.gitignore

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
.idea/
2-
styles/.sass-cache/
3-
devtool/
2+
docs/
43
lang/untranslated.json
54
node_modules/
65
foundry.js
7-
package.json
8-
/changelog.html
6+
package-lock.json

AUTHORS

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This is the official list of foundryvtt-forien-quest-log authors for copyright purposes.
2+
#
3+
# This does not necessarily list everyone who has contributed code, since in
4+
# some cases, their employer may be the copyright holder. To see the full list
5+
# of contributors, see the revision history in source control or
6+
# https://github.com/League-of-Foundry-Developers/foundryvtt-forien-quest-log/graphs/contributors.
7+
#
8+
# Authors who wish to be recognized in this file should add themselves (or
9+
# their employer, as appropriate).
10+
11+
4535992 <5201916+p4535992@users.noreply.github.com>
12+
BrotherSharp <41280723+BrotherSharper@users.noreply.github.com>
13+
Dilomos <49794325+Dilomos@users.noreply.github.com>
14+
Eadorin <eadorin@gmail.com>
15+
eclarke12 <42503461+eclarke12@users.noreply.github.com>
16+
innocenti <renato.innocenti@gmail.com>
17+
JJBocanegra <5797636+JJBocanegra@users.noreply.github.com>
18+
klo <drdwing@gmail.com>
19+
Lyndsey Toft <toftl@rpi.edu>
20+
Michael Leahy <support@typhonjs.io>
21+
Rughalt <802214+Rughalt@users.noreply.github.com>
22+
Sad <23254376+zeteticl@users.noreply.github.com>
23+
sdenec <8881200+sdenec@users.noreply.github.com>
24+
Wojciech "Forien" Szulc <mr.forien@gmail.com>
25+
xdy <246024+xdy@users.noreply.github.com>
26+
Fallayn <fallayn@users.noreply.github.com>

CONTRIBUTING.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
## Contribution Etiquette
2+
Open Source projects function most efficiently when everyone communicates well with each other. Here are some suggested practices that will let everyone else work alongside you comfortably:
3+
4+
### **Did you find a bug? Do you want to suggest an enhancement?**
5+
6+
* **Ensure your contribution is novel** by searching the [Issues](https://github.com/League-of-Foundry-Developers/foundryvtt-forien-quest-log/issues) page. Be sure to look through both open and closed issues, especially for enhancement suggestions as rejected suggestions will be closed.
7+
8+
* If applicable **use the appropriate issue templates** to automatically apply the relevant tag to the created issue. This allows issues to be quickly differentiated as bug reports, enhancement suggestions, or whatever else without a maintainer manually adding the tag to the issue. The bug report template will specify which information to add that will aid in reproducing the bug.
9+
10+
* Inconsequential fixes regarding typos, whitespace, etc. may not warrant an issue and can skip straight to the Pull Request.
11+
12+
### **Do you want to fix a currently existing issue?**
13+
14+
* Before working on an issue please **honor issue assignments** and ask to be assigned to the issue in a comment on the issue page. This allows everyone else to see that someone is working on the issue preventing any duplicate pull requests down the line. If someone is already assigned to the issue feel free to reach out to the assignee and inquire on the progress of that fix.
15+
16+
* While working on an issue **document your changes** by providing detailed commit messages and providing an overview of planned / current implementation / changes on the issue page.
17+
18+
* When you feel your fork adequately fixes an issue, **submit a pull request for review**! [Please indicate which issue is to be closed if the PR is merged](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) as well as giving a detailed overview of your changes.
19+
20+
* Please **limit the content of your pull requests to its linked issues**. If your pull request does anything additional you must first open an issue that your PR may close (see the below section).
21+
22+
### **Do you intend to add a new feature or change an existing one?**
23+
24+
* Please **open an issue** to generate feedback on the change first. The maintainers reserve the right to reject changes / additions that they do not want to maintain, so be sure that the maintainers are on the same page as you to avoid wasted work!
25+
26+
* Now that an issue covers the changes you wanted to make refer to the above section for implementing the changes.
27+
28+
### **Do you want to submit/update a translation?**
29+
30+
* **Submit a pull request** with your new / updated JSON file in the [lang folder](https://github.com/League-of-Foundry-Developers/foundryvtt-forien-quest-log/tree/master/lang).
31+
32+
* Be sure that the JSON file is either completely flat or completely nested.
33+
34+
* If your localization does not include translations for any strings please indicate as much in the [lang / missing folder](https://github.com/League-of-Foundry-Developers/foundryvtt-forien-quest-log/tree/master/lang/missing).
35+
36+
### **Do you want to contribute documentation?**
37+
38+
* Please **follow the above guidelines** regarding opening issues and submitting pull requests. Some documentation issues may be broader and ongoing, in which case you may want to contribute to assignee's forks first. Any smaller changes should still open a detailed issue and submit a detailed pull request that [closes that issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue).
39+
40+
### **Do you have questions about the source code?**
41+
42+
* **Join the [TyphonJS Discord](https://discord.gg/mnbgN8f)** and direct questions to the appropriate channel (#forien-quest-log).
43+
44+
* Please **do not directly contact maintainers** with questions; if you have a question other people might as well, so discussions should take place in public forums where others can see and learn from it as well.
45+
46+
Thank you for your interest in contributing to Forien's Quest Log! :heart:

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020-2021 Wojciech "Forien" Szulc, AUTHORS
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)