disfactory-notification

Month: 2021-01

2021-01-03

github 18:29:54

*<https://github.com/Disfactory/frontend/compare/357a9b358e56...83e28103c71d|5 new commits> pushed to <https://github.com/Disfactory/frontend/tree/master|`master`>* <https://github.com/Disfactory/frontend/commit/db832d1ba4e0406502136a6998109f3731f76a9c|`db832d1b`> - test: init the test <https://github.com/Disfactory/frontend/commit/804a93a326e851ec2dbeb4014d0b15487234606b|`804a93a3`> - test: add the tests of TutorialModal <https://github.com/Disfactory/frontend/commit/9336b626d6555406ef9389008eb71d003289142b|`9336b626`> - chore: not run the test when committing <https://github.com/Disfactory/frontend/commit/b789a913760a924be1b0eb91c575e46c176ab675|`b789a913`> - ci: add the job of unit-test <https://github.com/Disfactory/frontend/commit/83e28103c71da04c62d80c8e2c8aecaf91f080c9|`83e28103`> - fix: remove an extraneous comma

github 18:29:54

*<https://github.com/Disfactory/frontend/compare/357a9b358e56...83e28103c71d|5 new commits> pushed to <https://github.com/Disfactory/frontend/tree/master|`master`>* <https://github.com/Disfactory/frontend/commit/db832d1ba4e0406502136a6998109f3731f76a9c|`db832d1b`> - test: init the test <https://github.com/Disfactory/frontend/commit/804a93a326e851ec2dbeb4014d0b15487234606b|`804a93a3`> - test: add the tests of TutorialModal <https://github.com/Disfactory/frontend/commit/9336b626d6555406ef9389008eb71d003289142b|`9336b626`> - chore: not run the test when committing <https://github.com/Disfactory/frontend/commit/b789a913760a924be1b0eb91c575e46c176ab675|`b789a913`> - ci: add the job of unit-test <https://github.com/Disfactory/frontend/commit/83e28103c71da04c62d80c8e2c8aecaf91f080c9|`83e28103`> - fix: remove an extraneous comma

github 18:34:21

Successfully deployed <https://github.com/Disfactory/frontend/commit/4263baaf4b06d7656efa3699597a92a44d0d284a|`4263baa`> to github-pages

github 18:34:21

Successfully deployed <https://github.com/Disfactory/frontend/commit/4263baaf4b06d7656efa3699597a92a44d0d284a|`4263baa`> to github-pages

2021-01-06

github 01:39:43

#474 Bump axios from 0.19.0 to 0.21.1 in /frontend

Bumps <https://github.com/axios/axios|axios> from 0.19.0 to 0.21.1. Release notes _Sourced from <https://github.com/axios/axios/releases|axios's releases>._ &gt; *v0.21.1* &gt; *0.21.1 (December 21, 2020)* &gt; &gt; Fixes and Functionality: &gt; &gt; • Hotfix: Prevent SSRF (<https://github-redirect.dependabot.com/axios/axios/issues/3410|#3410>) &gt; • Protocol not parsed when setting proxy config from env vars (<https://github-redirect.dependabot.com/axios/axios/issues/3070|#3070>) &gt; • Updating axios in types to be lower case (<https://github-redirect.dependabot.com/axios/axios/issues/2797|#2797>) &gt; • Adding a type guard for `AxiosError` (<https://github-redirect.dependabot.com/axios/axios/issues/2949|#2949>) &gt; &gt; Internal and Tests: &gt; &gt; • Remove the skipping of the `socket` http test (<https://github-redirect.dependabot.com/axios/axios/issues/3364|#3364>) &gt; • Use different socket for Win32 test (<https://github-redirect.dependabot.com/axios/axios/issues/3375|#3375>) &gt; &gt; Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub: &gt; &gt; • Daniel Lopretto <mailto:timemachine3030@users.noreply.github.com|timemachine3030@users.noreply.github.com> &gt; • Jason Kwok <mailto:JasonHK@users.noreply.github.com|JasonHK@users.noreply.github.com> &gt; • Jay <mailto:jasonsaayman@gmail.com|jasonsaayman@gmail.com> &gt; • Jonathan Foster <mailto:jonathan@jonathanfoster.io|jonathan@jonathanfoster.io> &gt; • Remco Haszing <mailto:remcohaszing@gmail.com|remcohaszing@gmail.com> &gt; • Xianming Zhong <mailto:chinesedfan@qq.com|chinesedfan@qq.com> &gt; &gt; *v0.21.0* &gt; *0.21.0 (October 23, 2020)* &gt; &gt; Fixes and Functionality: &gt; &gt; • Fixing requestHeaders.Authorization (<https://github-redirect.dependabot.com/axios/axios/pull/3287|#3287>) &gt; • Fixing node types (<https://github-redirect.dependabot.com/axios/axios/pull/3237|#3237>) &gt; • Fixing axios.delete ignores config.data (<https://github-redirect.dependabot.com/axios/axios/pull/3282|#3282>) &gt; • Revert "Fixing overwrite Blob/File type as Content-Type in browser. (<https://github-redirect.dependabot.com/axios/axios/issues/1773|#1773>)" (<https://github-redirect.dependabot.com/axios/axios/pull/3289|#3289>) &gt; • Fixing an issue that type 'null' and 'undefined' is not assignable to validateStatus when typescript strict option is enabled (<https://github-redirect.dependabot.com/axios/axios/pull/3200|#3200>) &gt; &gt; Internal and Tests: &gt; &gt; • Lock travis to not use node v15 (<https://github-redirect.dependabot.com/axios/axios/pull/3361|#3361>) &gt; &gt; Documentation: &gt; &gt; • Fixing simple typo, existant -&gt; existent (<https://github-redirect.dependabot.com/axios/axios/pull/3252|#3252>) &gt; • Fixing typos (<https://github-redirect.dependabot.com/axios/axios/pull/3309|#3309>) &gt; &gt; Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub: &gt; &gt; • Allan Cruz <mailto:57270969+Allanbcruz@users.noreply.github.com|57270969+Allanbcruz@users.noreply.github.com> &gt; • George Cheng <mailto:Gerhut@GMail.com|Gerhut@GMail.com> &gt; • Jay <mailto:jasonsaayman@gmail.com|jasonsaayman@gmail.com> &gt; • Kevin Kirsche <mailto:Kev.Kirsche+GitHub@gmail.com|Kev.Kirsche+GitHub@gmail.com> ... (truncated) Changelog _Sourced from <https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md|axios's changelog>._ &gt; *0.21.1 (December 21, 2020)* &gt; &gt; Fixes and Functionality: &gt; &gt; • Hotfix: Prevent SSRF (<https://github-redirect.dependabot.com/axios/axios/issues/3410|#3410>) &gt; • Protocol not parsed when setting proxy config from env vars (<https://github-redirect.dependabot.com/axios/axios/issues/3070|#3070>) &gt; • Updating axios in types to be lower case (<https://github-redirect.dependabot.com/axios/axios/issues/2797|#2797>) &gt; • Adding a type guard for `AxiosError` (<https://github-redirect.dependabot.com/axios/axios/issues/2949|#2949>) &gt; &gt; Internal and Tests: &gt; &gt; • Remove the skipping of the `socket` http test (<https://github-redirect.dependabot.com/axios/axios/issues/3364|#3364>) &gt; • Use different socket for Win32 test (<https://github-redirect.dependabot.com/axios/axios/issues/3375|#3375>) &gt; &gt; Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub: &gt; &gt; • Daniel Lopretto <mailto:timemachine3030@users.noreply.github.com|timemachine3030@users.noreply.github.com> &gt; • Jason Kwok <mailto:JasonHK@users.noreply.github.com|JasonHK@users.noreply.github.com> &gt; • Jay <mailto:jasonsaayman@gmail.com|jasonsaayman@gmail.com> &gt; • Jonathan Foster <mailto:jonathan@jonathanfoster.io|jonathan@jonathanfoster.io> &gt; • Remco Haszing <mailto:remcohaszing@gmail.com|remcohaszing@gmail.com> &gt; • Xianming Zhong <mailto:chinesedfan@qq.com|chinesedfan@qq.com> &gt; &gt; *0.21.0 (October 23, 2020)* &gt; &gt; Fixes and Functionality: &gt; &gt; • Fixing requestHeaders.Authorization (<https://github-redirect.dependabot.com/axios/axios/pull/3287|#3287>) &gt; • Fixing node types (<https://github-redirect.dependabot.com/axios/axios/pull/3237|#3237>) &gt; • Fixing axios.delete ignores config.data (<https://github-redirect.dependabot.com/axios/axios/pull/3282|#3282>) &gt; • Revert "Fixing overwrite Blob/File type as Content-Type in browser. (<https://github-redirect.dependabot.com/axios/axios/issues/1773|#1773>)" (<https://github-redirect.dependabot.com/axios/axios/pull/3289|#3289>) &gt; • Fixing an issue that type 'null' and 'undefined' is not assignable to validateStatus when typescript strict option is enabled (<https://github-redirect.dependabot.com/axios/axios/pull/3200|#3200>) &gt; &gt; Internal and Tests: &gt; &gt; • Lock travis to not use node v15 (<https://github-redirect.dependabot.com/axios/axios/pull/3361|#3361>) &gt; &gt; Documentation: &gt; &gt; • Fixing simple typo, existant -&gt; existent (<https://github-redirect.dependabot.com/axios/axios/pull/3252|#3252>) &gt; • Fixing typos (<https://github-redirect.dependabot.com/axios/axios/pull/3309|#3309>) &gt; &gt; Huge thanks to everyone who contributed to this release via code (authors listed below) or via reviews and triaging on GitHub: &gt; &gt; • Allan Cruz <mailto:57270969+Allanbcruz@users.noreply.github.com|57270969+Allanbcruz@users.noreply.github.com> &gt; • George Cheng <mailto:Gerhut@GMail.com|Gerhut@GMail.com> &gt; • Jay <mailto:jasonsaayman@gmail.com|jasonsaayman@gmail.com> &gt; • Kevin Kirsche <mailto:Kev.Kirsche+GitHub@gmail.com|Kev.Kirsche+GitHub@gmail.com> &gt; • Remco Haszing <mailto:remcohaszing@gmail.com|remcohaszing@gmail.com> &gt; • Taemin Shin <mailto:cprayer13@gmail.com|cprayer13@gmail.com> ... (truncated) Commits • <https://github.com/axios/axios/commit/a64050a6cfbcc708a55a7dc8030d85b1c78cdf38|`a64050a`> Releasing 0.21.1 • <https://github.com/axios/axios/commit/d57cd976f3cc0f1c5bb1f0681660e50004781db5|`d57cd97`> Updating changelog for 0.21.1 release • <https://github.com/axios/axios/commit/8b0f373df0574b7cb3c6b531b4092cd670dac6e3|`8b0f373`> Use different socket for Win32 test (<https://github-redirect.dependabot.com/axios/axios/issues/3375|#3375>) • <https://github.com/axios/axios/commit/e426910be7c417bdbcde9c18cb184ead826fc0e1|`e426910`> Protocol not parsed when setting proxy config from env vars (<https://github-redirect.dependabot.com/axios/axios/issues/3070|#3070>) • <https://github.com/axios/axios/commit/c7329fefc890050edd51e40e469a154d0117fc55|`c7329fe`> Hotfix: Prevent SSRF (<https://github-redirect.dependabot.com/axios/axios/issues/3410|#3410>) • <https://github.com/axios/axios/commit/f472e5da5fe76c72db703d6a0f5190e4ad31e642|`f472e5d`> Adding a type guard for `AxiosError` (<https://github-redirect.dependabot.com/axios/axios/issues/2949|#2949>) • <https://github.com/axios/axios/commit/768825589fd0d36b64a66717ca6df2efd8fb7844|`7688…

:white_check_mark: All checks have passed

github 19:27:37

*<https://github.com/Disfactory/Disfactory/compare/765b3fc48b88...e3e4d3c6d848|2 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/f9c15e7e4d78bf4a6d51bd5495119030e7c0f4ea|`f9c15e7e`> - fix #468 document 搜尋需要 query 段名、公文號 <https://github.com/Disfactory/Disfactory/commit/e3e4d3c6d848f8e1e31df655e9dcc29be02c9190|`e3e4d3c6`> - Merge pull request #473 from Disfactory/fix_468

github 19:29:28

*<https://github.com/Disfactory/Disfactory/compare/e3e4d3c6d848...ac71d04e1a35|2 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/11219ea505bd368c85ef2a2dd3ff0ec2d3e1ff57|`11219ea5`> - add csv export action for document <https://github.com/Disfactory/Disfactory/commit/ac71d04e1a3532281435d81092692d06aae0b4cd|`ac71d04e`> - Merge pull request #469 from Disfactory/export-document-to-csv

github 20:34:48

*<https://github.com/Disfactory/frontend/compare/83e28103c71d...6f5ea8a43966|3 new commits> pushed to <https://github.com/Disfactory/frontend/tree/master|`master`>* <https://github.com/Disfactory/frontend/commit/2c82c5159fd735a66dae757c3905e79ed83e68e3|`2c82c515`> - Setup vue-cool-lightbox <https://github.com/Disfactory/frontend/commit/b6429a90c3aae06796bdc9c372ffbefed65544a1|`b6429a90`> - Add cursor pointer to factory slide image <https://github.com/Disfactory/frontend/commit/6f5ea8a43966490af981711e4eb01d9fa5085dbd|`6f5ea8a4`> - Merge pull request #65 from Disfactory/feature/lightbox

github 20:34:48

*<https://github.com/Disfactory/frontend/compare/83e28103c71d...6f5ea8a43966|3 new commits> pushed to <https://github.com/Disfactory/frontend/tree/master|`master`>* <https://github.com/Disfactory/frontend/commit/2c82c5159fd735a66dae757c3905e79ed83e68e3|`2c82c515`> - Setup vue-cool-lightbox <https://github.com/Disfactory/frontend/commit/b6429a90c3aae06796bdc9c372ffbefed65544a1|`b6429a90`> - Add cursor pointer to factory slide image <https://github.com/Disfactory/frontend/commit/6f5ea8a43966490af981711e4eb01d9fa5085dbd|`6f5ea8a4`> - Merge pull request #65 from Disfactory/feature/lightbox

github 20:39:20

Successfully deployed <https://github.com/Disfactory/frontend/commit/7d58a910898db181cdc446bf8433aaeca01ee01c|`7d58a91`> to github-pages

github 20:39:20

Successfully deployed <https://github.com/Disfactory/frontend/commit/7d58a910898db181cdc446bf8433aaeca01ee01c|`7d58a91`> to github-pages

github 20:39:54

Successfully deployed <https://github.com/Disfactory/frontend/commit/b881b4b57a0e2756cf25fd621aeb92c4d79aae16|`b881b4b`> to github-pages

github 20:39:54

Successfully deployed <https://github.com/Disfactory/frontend/commit/b881b4b57a0e2756cf25fd621aeb92c4d79aae16|`b881b4b`> to github-pages

github 20:48:55

#475 寄確認信或確認簡訊

*Is your feature request related to a problem? Please describe.* 舉報人缺乏一些回饋感(「咦,我剛剛有舉報成功嗎?然後呢?」) *Describe the solution you'd like* 在舉報人成功新增之後,寄一封 email 或簡訊吿知他們說,「嘿,我們收到你的舉報囉!」

github 20:54:17

*<https://github.com/Disfactory/Disfactory/compare/ac71d04e1a35...e35d3e775d2d|2 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/c4b0013b53d48416aa80968bf416b4a5d7c25665|`c4b0013b`> - Fix #226 與 #384 提供 swagger 與 redoc 讓使用者比較方便了解 API 的使用方式 <https://github.com/Disfactory/Disfactory/commit/e35d3e775d2de3e923e2ba47c6c12c4214505ebf|`e35d3e77`> - Merge pull request #472 from Disfactory/fix_384

github 21:01:16

#476 feat: update factory.cet_review_status when generating documents

close <https://github.com/Disfactory/Disfactory/issues/452|#452> *Summary* <https://user-images.githubusercontent.com/11289529/103771136-243e1e80-5062-11eb-8891-853e4df2c391.gif|Peek 2021-01-06 20-59>

github 21:03:38

#66 Distinguish factory icon by z-index

:white_check_mark: 8 other checks have passed

github 21:09:10

*<https://github.com/Disfactory/Disfactory/compare/e35d3e775d2d...c0db22f1a827|2 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/0896449c5a0d6fafc47c78f02d7a5f7427a6c6e6|`0896449c`> - feat: update factory.cet_review_status when generating documents <https://github.com/Disfactory/Disfactory/commit/c0db22f1a8279c6ec51148855ef0d173ee04b013|`c0db22f1`> - Merge pull request #476 from Disfactory/update-cet_review_status

github 21:10:37

#477 ReportRecord's factory on_delete=CASCADE

<https://github.com/Disfactory/Disfactory/issues/403|#403>

:white_check_mark: All checks have passed

github 21:12:06

*<https://github.com/Disfactory/Disfactory/compare/c0db22f1a827...26155c505073|2 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/a06d8a766f8693684c901dc420dc80b37444de32|`a06d8a76`> - ReportRecord's factory on_delete=CASCADE <https://github.com/Disfactory/Disfactory/commit/26155c50507332f3231400f0dd4f607c56286ea4|`26155c50`> - Merge pull request #477 from Disfactory/cascade-delete-report-record

github 21:36:15

#67 應於角落隨時顯示圖資來自 Openstreetmap

依條款,採 Openstreetmap 圖時,應於角落隨時顯示圖資來源。

github 21:36:15

#67 應於角落隨時顯示圖資來自 Openstreetmap

依條款,採 Openstreetmap 圖時,應於角落隨時顯示圖資來源。

github 22:02:21

#478 set on_delete for Factory related models

``` Image --&gt; ReportRecord --&gt; Factory | ^ -------------------------- ``` Image 對 ReportRecord 設 restrict,如果刪 ReportRecord 不是因為他的 Factory 會刪 會 raise 一個 error 目前還沒有刪 ReportRecord 的需求,先上比較保護性質的設定 Document 部分,跟 deeper confirm 過先設 SET_NULL

2021-01-08

github 07:52:57

#479 Bump lxml from 4.5.2 to 4.6.2 in /backend

Bumps <https://github.com/lxml/lxml|lxml> from 4.5.2 to 4.6.2. Changelog _Sourced from <https://github.com/lxml/lxml/blob/master/CHANGES.txt|lxml's changelog>._ &gt; *4.6.2 (2020-11-26)* &gt; *Bugs fixed* &gt; &gt; • A vulnerability (<https://github.com/advisories/GHSA-pgww-xf46-h92r|CVE-2020-27783>) was discovered in the HTML Cleaner by Yaniv Nizry, which allowed JavaScript to pass through. The cleaner now removes more sneaky "style" content. &gt; &gt; *4.6.1 (2020-10-18)* &gt; *Bugs fixed* &gt; &gt; • A vulnerability was discovered in the HTML Cleaner by Yaniv Nizry, which allowed JavaScript to pass through. The cleaner now removes more sneaky "style" content. &gt; &gt; *4.6.0 (2020-10-17)* &gt; *Features added* &gt; &gt; • GH#310: `lxml.html.InputGetter` supports `__len__()` to count the number of input fields. Patch by Aidan Woolley. &gt; • `lxml.html.InputGetter` has a new `.items()` method to ease processing all input fields. &gt; • `lxml.html.InputGetter.keys()` now returns the field names in document order. &gt; • <https://github-redirect.dependabot.com/lxml/lxml/issues/309|GH-309>: The API documentation is now generated using `sphinx-apidoc`. Patch by Chris Mayo. &gt; &gt; *Bugs fixed* &gt; &gt; • LP#1869455: C14N 2.0 serialisation failed for unprefixed attributes when a default namespace was defined. &gt; • `TreeBuilder.close()` raised `AssertionError` in some error cases where it should have raised `XMLSyntaxError`. It now raises a combined exception to keep up backwards compatibility, while switching to `XMLSyntaxError` as an interface. Commits • <https://github.com/lxml/lxml/commit/4cb57362deb23bca0f70f41ab1efa13390fcdbb1|`4cb5736`> Work around Py2's lack of "re.ASCII". • <https://github.com/lxml/lxml/commit/c30106ff2648cdafe7857654e9606c491b1acf4d|`c30106f`> Prepare release of 4.6.2. • <https://github.com/lxml/lxml/commit/a105ab8dc262ec6735977c25c13f0bdfcdec72a7|`a105ab8`> Prevent combinations of &lt;math/svg&gt; and &lt;style&gt; to sneak JavaScript through th... • <https://github.com/lxml/lxml/commit/c053dc159c7f0a6a98922c937a0baede7ce7af9d|`c053dc1`> Add a recipe for a look-ahead generator to allow modifications during tree it... • <https://github.com/lxml/lxml/commit/b083124281d824eb861ff58e7276a5c1f1d8c18d|`b083124`> lxml actually works in Py3.9. • <https://github.com/lxml/lxml/commit/0f80590d7ebe62c61d2bdf2a220a093821dcbab8|`0f80590`> lxml actually works in Py3.9. • <https://github.com/lxml/lxml/commit/fd8893ccb538e95c5acb2a2b47f0e87003de5b0d|`fd8893c`> Add a doc note that the .find() methods are usually faster than one might exp... • <https://github.com/lxml/lxml/commit/eb6df27fc265cea4462f966282a701acdad5d167|`eb6df27`> Update release version on homepage. • <https://github.com/lxml/lxml/commit/69b5c9bd575800f80a6515aeef6421f33db0294d|`69b5c9b`> Automate the build artefact downloading from github and appveyor. • <https://github.com/lxml/lxml/commit/61432a8489657744ed32367ed9fb17fafe405d8e|`61432a8`> Prepare release of lxml 4.6.1. • Additional commits viewable in <https://github.com/lxml/lxml/compare/lxml-4.5.2...lxml-4.6.2|compare view> <https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores|Dependabot compatibility score> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. * * * Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: • `@dependabot rebase` will rebase this PR • `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it • `@dependabot merge` will merge this PR after your CI passes on it • `@dependabot squash and merge` will squash and merge this PR after your CI passes on it • `@dependabot cancel merge` will cancel a previously requested merge and block automerging • `@dependabot reopen` will reopen this PR if it is closed • `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually • `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) • `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) • `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) • `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language • `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language • `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language • `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the <https://github.com/Disfactory/Disfactory/network/alerts|Security Alerts page>.

:white_check_mark: All checks have passed

2021-01-12

github 16:09:32

#480 後台輸出數量

*Is your feature request related to a problem? Please describe.* dashboard和未來任何系統統計數字輸出需求, 讓使用者知道自己再怎麼樣的脈絡下檢舉, 讓非使用者知道系統收了多少資料。 *Describe the solution you'd like* *原始數據* 要有 _總數量_、_分縣市_、_分鄉鎮市_ ☐ 疑似違章工廠數量 ☐ 已有照片的數量 ☐ 使用者新增的數量 ☐ 各個display status(共七個)的數量 ☐ 已經拆除的數量 *可計算出* 1. 檢舉後已拆除比例 2. 檢舉後未拆除比例 3. 疑似違章工廠中已有照片之比例 4. 其他跟設計師繼續討論 *Additional context* 整合 <https://github.com/Disfactory/Disfactory/issues/464|#464> <https://github.com/Disfactory/Disfactory/issues/463|#463>

2021-01-13

github 20:12:57

*<https://github.com/Disfactory/frontend/compare/6f5ea8a43966...4324d8592a5f|2 new commits> pushed to <https://github.com/Disfactory/frontend/tree/master|`master`>* <https://github.com/Disfactory/frontend/commit/1cec1d99aa221c92c6efeb893eed04e2ae3e37b4|`1cec1d99`> - Distinguish factory icon by z-index <https://github.com/Disfactory/frontend/commit/4324d8592a5fbe86837c83c131b84d8f6181a3f0|`4324d859`> - Merge pull request #66 from Disfactory/feature/distinguish-factory-status-with-z-index

github 20:12:57

*<https://github.com/Disfactory/frontend/compare/6f5ea8a43966...4324d8592a5f|2 new commits> pushed to <https://github.com/Disfactory/frontend/tree/master|`master`>* <https://github.com/Disfactory/frontend/commit/1cec1d99aa221c92c6efeb893eed04e2ae3e37b4|`1cec1d99`> - Distinguish factory icon by z-index <https://github.com/Disfactory/frontend/commit/4324d8592a5fbe86837c83c131b84d8f6181a3f0|`4324d859`> - Merge pull request #66 from Disfactory/feature/distinguish-factory-status-with-z-index

github 20:17:32

Successfully deployed <https://github.com/Disfactory/frontend/commit/0a59b1c8fc2f6a023c81461ffea102a1e2333f3b|`0a59b1c`> to github-pages

github 20:17:32

Successfully deployed <https://github.com/Disfactory/frontend/commit/0a59b1c8fc2f6a023c81461ffea102a1e2333f3b|`0a59b1c`> to github-pages

github 20:17:54

Successfully deployed <https://github.com/Disfactory/frontend/commit/2225b8ca2015ffbb7d3b75d2410c8f74980c0493|`2225b8c`> to github-pages

github 20:17:54

Successfully deployed <https://github.com/Disfactory/frontend/commit/2225b8ca2015ffbb7d3b75d2410c8f74980c0493|`2225b8c`> to github-pages

github 22:12:48

#68 Share factory url with factoryId

:white_check_mark: All checks have passed

2021-01-18

github 10:45:07

#481 拆工廠首頁設計 (Landing Page, About Page, Dashboard)

*Wireframe:* <https://www.figma.com/file/dFuJKpdDcmHNDqdj1011Zo/Disfactory_UI_design_2021?node-id=1347%3A8394|https://www.figma.com/file/dFuJKpdDcmHNDqdj1011Zo/Disfactory_UI_design_2021?node-id=1347%3A8394>

2021-01-20

github 18:08:33

#482 政府公開資料匯入圖台?

*Is your feature request related to a problem? Please describe.* 經濟部最近每個月會更新一次有處置的新增建違章工廠,有地號的資料 如果可以呈現在地圖上,方便讓民眾進行政府狀態的檢核(如政府寫「已勒令停工」,但看到工廠依舊在運作,就可以拍照上傳) <https://user-images.githubusercontent.com/60970217/105159501-2025fc80-5b4a-11eb-81a7-d11d50248186.png|截圖 2021-01-20 下午6 03 56> *Describe the solution you'd like* 依據地號,將該工廠的資料匯入後台,並標示source為政府。 地圖上圖釘的外觀倒是不用特別做區隔

github 19:34:33

*<https://github.com/Disfactory/Disfactory/compare/26155c505073...2e9a24e99a38|2 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/6c9cf69e1241782c89d1ab45eadbf693fa1b298b|`6c9cf69e`> - set on_delete for Factory related models <https://github.com/Disfactory/Disfactory/commit/2e9a24e99a38d9230ccdeb9fb58272bebb147a56|`2e9a24e9`> - Merge pull request #478 from Disfactory/set-on-delete-for-factory-related-models

github 20:19:29

#483 把 Caddy 變成開機背景程序

目前是 root 開 tmux 跑,非常蠢。設成開機背景程序就可以每次重開機就自動打開

github 20:34:00

#484 後端 Query 有嚴重效能問題

目前做 query 都花到好幾秒: <https://user-images.githubusercontent.com/6868283/105175298-ae0be280-5b5e-11eb-8d71-f385f6a8434e.png|image> 看後台的 htop ,可以發現一直在做 swap <https://user-images.githubusercontent.com/6868283/105175251-a3514d80-5b5e-11eb-9738-89160fc2b27c.png|image>

2021-01-27

github 14:30:47

#69 Pin 集體歪頭(minor)

不知道怎麼 reproduce &gt;&lt; 在放大縮小旋轉的過程中,pin 竟然傾斜,不管怎麼轉地圖都還是傾斜。 Safari, iOS 14.2 on iPhone <https://user-images.githubusercontent.com/9480974/105952056-f883e680-60ab-11eb-8617-7cf6058d57d1.png|signal-2021-01-27-142328_002> <https://user-images.githubusercontent.com/9480974/105952044-f3269c00-60ab-11eb-89ff-00feabed4a2b.png|signal-2021-01-27-142328_001>

github 14:30:47

#69 Pin 集體歪頭(minor)

不知道怎麼 reproduce &gt;&lt; 在放大縮小旋轉的過程中,pin 竟然傾斜,不管怎麼轉地圖都還是傾斜。 Expected behavior: pin 豎立 定位按鈕圖示有出現(也一起消失了) 版本: Safari, iOS 14.2 on iPhone <https://user-images.githubusercontent.com/9480974/105952056-f883e680-60ab-11eb-8617-7cf6058d57d1.png|signal-2021-01-27-142328_002> <https://user-images.githubusercontent.com/9480974/105952044-f3269c00-60ab-11eb-89ff-00feabed4a2b.png|signal-2021-01-27-142328_001>

github 15:22:31

#485 Write an English article about Disfactory on Commonwealth Magazine

info: <https://g0v.hackmd.io/yQYvNtGNQ2-hFz0GFN4hcg?both|https://g0v.hackmd.io/yQYvNtGNQ2-hFz0GFN4hcg?both> Deadline: Mid-April *前情提要* 揪松團、國際交流收到來自天下英文網站主編劉光瑩(<mailto:kyliu@cw.com.tw|kyliu@cw.com.tw>)的邀請,希望從 2021 年開始與 g0v 社群合作,每月一篇英語評論。 *Kwangyin Liu, Commonwealth Magazine English website editor, would like to invite the g0v community to curate a monthly op-ed for <http://english.cw.com.tw|http://english.cw.com.tw>, starting 2021* *規格* • 語言:英語 • 字數:500-800 英文字 • 主題建議:分享台灣civic tech最新動態、最近解決了什麼問題、台灣參與國際開源運動的心得等等,可隨時建議與討論 • 撰寫方式:可合寫,也可單獨寫 • language: English • length: 500-800 words • topic suggestions: latest projects by the Taiwan g0v community, how Taiwan can expand its role in international participation through civic tech engagements. open to discussion • form: single author or collaboration *授權* CC BY 4.0 International by g0v contributors

github 16:03:00

#486 地點搜尋功能

*Is your feature request related to a problem? Please describe.* 有人回報在他縣市還是希望「搜尋」的問題 <https://user-images.githubusercontent.com/60970217/105952987-64b31a00-60ad-11eb-902e-1bb18534d8e4.png|截圖 2021-01-27 下午2 38 35> 目前是跟他說要自己從別的地方得到經緯度,再用經緯度搜尋。 *Describe the solution you'd like* • 工廠編號 • 地號搜尋 • 鄉鎮市區搜尋 必要性待小聚時評估

github 18:40:42

#70 前端 Getting Started 文件

在前端README建立一份前端Getting Started 文件

github 18:40:42

#70 前端 Getting Started 文件

在前端README建立一份前端Getting Started 文件

github 18:46:15

#8 可以有個 section 專門放媒體相關報導的連結?

突然想到這段時間來有很多相關報導,應該可以做一個 list 超連結出去相關的媒體報導?

github 18:49:00

#9 拆工廠首頁設計 (Landing Page, About Page, Dashboard)

*Wireframe:* <https://www.figma.com/file/dFuJKpdDcmHNDqdj1011Zo/Disfactory_UI_design_2021?node-id=1347%3A8394|https://www.figma.com/file/dFuJKpdDcmHNDqdj1011Zo/Disfactory_UI_design_2021?node-id=1347%3A8394>

github 18:53:02

#10 about page tracking

Must have 1. about PV、網頁停留時間 2. social media share: 分享來源以及轉換率 3. search: 多少人與選擇鄉鎮市有互動 4. 多少流量從 about 到 <http://disfactory.tw|disfactory.tw> Nice to have 1. scrolling down 可用 GA 或 GTM

github 20:40:42

#487 refactor(postGIS): use algorithm to calculate radius rather than postGIS

*Summary* close <https://github.com/Disfactory/Disfactory/issues/302|#302> , <https://github.com/Disfactory/Disfactory/issues/18|#18> • 只有這部份用到 postGIS,根據 issue <https://github.com/Disfactory/Disfactory/issues/302|#302> 裡面提到的 <https://stackoverflow.com/questions/574691/mysql-great-circle-distance-haversine-formula|Haversine formula> 就能取代 postGIS 這部份提供的功能了,改寫之後應該就不需要 postGIS ㄌ

github 21:06:24

#488 增加統計資料的 API #480

針對 <https://github.com/Disfactory/Disfactory/issues/480|#480> 的需求增加了 `/api/statistics/factories` `/api/statistics/images` `/api/statistics/report_records` 每個 API 都有三個可以使用的 query 參數 towname, source 與 display_status <https://user-images.githubusercontent.com/126123/105994497-a7431980-60e2-11eb-83be-8211659cc12b.png|image> 其中 *townname* 可以只輸入縣市名稱,例如 (臺南市) 或者更詳細一點,例如 (臺南市善化區),不輸入的話會回傳全台灣的統計 *source* 可以輸入 "U" 或者 "G" U 代表使用者舉報的,G 代表從政府那邊取得的資料 *display_status* 除了 document 預設的 display_status 之外,還有一個 "處理中" 的選項可以用,這個代表 "已排程稽查", "陳述意見期", "已勒令停工" 這三種 display_status Available values : 已檢舉, 已排程稽查, 陳述意見期, 已勒令停工, 已發函斷電, 已排程拆除, 已拆除, 不再追蹤, 處理中

:white_check_mark: 2 other checks have passed

github 21:44:17

#489 利用 Chatbot 拓展封閉社群內之宣傳

*Is your feature request related to a problem? Please describe.* A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 即時通訊可作為宣傳通路,將使用者由社群導入關心議題 *Describe the solution you'd like* A clear and concise description of what you want to happen. 利用對話的互動性來引導群眾認識議題 *Describe alternatives you've considered* A clear and concise description of any alternative solutions or features you've considered. *Additional context* Add any other context or screenshots about the feature request here.

github 21:45:42

#11 前端任務切分

og 分享圖 ☐ 動態產生路徑 ☐ 動態產生圖片 * * * ☐ 搜尋功能 * * * 切版 ☐ 手機 ☐ 桌機 * * * 圖表 ☐ 回報進度 ☐ 處理進度 * * * ☐ 部署

2021-01-28

github 16:43:45

*<https://github.com/Disfactory/Disfactory/compare/2e9a24e99a38...923890024ea3|3 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/4009f5dca2507a3a076d80a832258f5143062604|`4009f5dc`> - Add factories/images/report_records statistics api #480 <https://github.com/Disfactory/Disfactory/commit/5d838a43765eb9bf40d2e29d131c2b9c58fd5751|`5d838a43`> - Add total statistics api #480 <https://github.com/Disfactory/Disfactory/commit/923890024ea3c6f99806b836d7ea38c2d0bd7d9a|`92389002`> - Merge pull request #488 from Disfactory/statistics_api

github 16:44:01

*<https://github.com/Disfactory/Disfactory/compare/923890024ea3...8c95cadcf270|2 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/1f57f010f03153544ff2557f12df2970d4b84478|`1f57f010`> - refactor(postGIS): use algorithm to calculate radius rather than postGIS <https://github.com/Disfactory/Disfactory/commit/8c95cadcf2708587c316e93f21b946c545401b6f|`8c95cadc`> - Merge pull request #487 from Disfactory/remove-postgis

github 16:52:58

*<https://github.com/Disfactory/Disfactory/compare/8c95cadcf270...da67437843ed|2 new commits> pushed to <https://github.com/Disfactory/Disfactory/tree/master|`master`>* <https://github.com/Disfactory/Disfactory/commit/fa499fd0d685c8621dbe2a93d4f0942080aad8ff|`fa499fd0`> - Bump lxml from 4.5.2 to 4.6.2 in /backend <https://github.com/Disfactory/Disfactory/commit/da67437843ed7d394d8a6d63b633bb0c87ffe174|`da674378`> - Merge pull request #479 from Disfactory/dependabot/pip/backend/lxml-4.6.2

2021-01-31

github 21:13:32

#490 使用 Github Actions 來為每個 pull request 以及 push 到 master 的 commit 進行測試

測試的流程是從 CircleCI 的設定檔轉移過來的,目前是設定所有到 master 的 commit 以及 Pull Request 會觸發

:white_check_mark: All checks have passed