author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
163,176
04.12.2019 21:18:54
-28,800
1228d7f29f69ab7822457ef6b1c70b97ad3f8f7b
Extract getFactories api
[ { "change_type": "MODIFY", "old_path": "frontend/src/api/index.ts", "new_path": "frontend/src/api/index.ts", "diff": "import axios from 'axios'\n-import { FactoryPostData, FactoryData } from '@/types'\n+import { FactoryPostData, FactoryData, FactoriesResponse } from '@/types'\nconst baseURL = proces...
Python
MIT License
disfactory/disfactory
Extract getFactories api
163,161
04.12.2019 20:56:14
-28,800
0d0a5e00c78270e0588c9475fb87ad03e8663d3f
redirect backend deafult url to dev page
[ { "change_type": "MODIFY", "old_path": "backend/gis_project/urls.py", "new_path": "backend/gis_project/urls.py", "diff": "@@ -15,9 +15,11 @@ Including another URLconf\n\"\"\"\nfrom django.contrib import admin\nfrom django.urls import path, include\n+from django.shortcuts import redirect\nurlpatterns...
Python
MIT License
disfactory/disfactory
redirect backend deafult url to dev page
163,161
04.12.2019 22:12:29
-28,800
bdbfcb3b91c0decc644289ee191a445183f4612c
move CORS middleware to top
[ { "change_type": "MODIFY", "old_path": "backend/gis_project/settings.py", "new_path": "backend/gis_project/settings.py", "diff": "@@ -55,8 +55,8 @@ INSTALLED_APPS = [\n]\nMIDDLEWARE = [\n- \"django.middleware.security.SecurityMiddleware\",\n'corsheaders.middleware.CorsMiddleware',\n+ \"django.middle...
Python
MIT License
disfactory/disfactory
move CORS middleware to top
163,176
07.12.2019 23:39:58
-28,800
4e5c7ad814a38deb876f9438247515ba9866d0e5
Implement control buttons overwrite
[ { "change_type": "ADD", "old_path": null, "new_path": "frontend/public/images/locate.svg", "diff": "+<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"30\" height=\"28\" viewBox=\"0 0 30 28\">\n+ <g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\">\n+ <circle cx=\"14\" cy=\"13\" r=\"...
Python
MIT License
disfactory/disfactory
Implement control buttons overwrite
163,176
08.12.2019 11:06:01
-28,800
c15a787afaf3cfebea7a94bb9080c36421967724
Bind filter modal actions
[ { "change_type": "ADD", "old_path": null, "new_path": "frontend/public/images/search.svg", "diff": "+<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"21\" height=\"21\" viewBox=\"0 0 21 21\">\n+ <path fill=\"#FFF\" fill-rule=\"evenodd\" d=\"M20.634 18.93l-6.33-6.33c.974-1.279 1.522-2.922 1.522-4.68...
Python
MIT License
disfactory/disfactory
Bind filter modal actions
163,176
08.12.2019 12:01:56
-28,800
9cedc9952c4b026db8525c5736f9aeb6c2f4e088
Zoom to current geoloation
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "</button>\n</div>\n+ <div class=\"ol-fit-location ol-unselectable ol-control\" @click=\"zoomToGeolocation\">\n+ <button>\n+ <img src=\"/images/locate.svg\" alt=\"locate\"...
Python
MIT License
disfactory/disfactory
Zoom to current geoloation
163,176
08.12.2019 12:28:58
-28,800
071a3e3b32d124f20fa53f8155fb53343885ef60
Handle geolocation action more precisely
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "@@ -6,9 +6,9 @@ import WMTS from 'ol/source/WMTS'\nimport WMTSTileGrid from 'ol/tilegrid/WMTS'\nimport { get as getProjection, transform } from 'ol/proj'\nimport { getWidth, getTopLeft }...
Python
MIT License
disfactory/disfactory
Handle geolocation action more precisely
163,176
08.12.2019 15:40:30
-28,800
f69848330a598d1e4540f305e8946255ba40f033
Encapsulate map methods
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "@@ -21,8 +21,7 @@ const factoryMap = new Map<string, FactoryData>()\n// internal map references\nlet map: OlMap\n-let mapDom: HTMLElement\n-let geolocation: Geolocation\n+let mapInstance...
Python
MIT License
disfactory/disfactory
Encapsulate map methods
163,176
08.12.2019 15:41:02
-28,800
f5ada7d680eb44d646e9b20decd1549fd0a71133
Fix center marker shifting fixes
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "@@ -133,6 +133,6 @@ export default createComponent({\nleft: 0;\nz-index: 2;\n- transform: translate(calc(50vw - 12.5px), calc(50vh - 12.5px + 47px));\n+ transform: transl...
Python
MIT License
disfactory/disfactory
Fix center marker shifting fixes #76
163,162
08.12.2019 15:53:01
-28,800
5d7529da0e7e44222bf1bd5aca3f7b44e042cb99
Fix typescript eslint warning
[ { "change_type": "MODIFY", "old_path": "frontend/.eslintrc.js", "new_path": "frontend/.eslintrc.js", "diff": "@@ -19,6 +19,7 @@ module.exports = {\n'@typescript-eslint/semi': ['error', 'never'],\n'no-unused-expressions': 'off',\n'@typescript-eslint/no-unused-expressions': 'error',\n+ '@typescript-es...
Python
MIT License
disfactory/disfactory
Fix typescript eslint warning
163,176
08.12.2019 16:04:41
-28,800
b3817fad542d1cec17ff603cd5489638e3390956
Extract factory related method
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "<script lang=\"ts\">\nimport AppButton from '@/components/AppButton.vue'\nimport { createComponent, onMounted, ref } from '@vue/composition-api'\n-import { initializeMap,...
Python
MIT License
disfactory/disfactory
Extract factory related method
163,176
08.12.2019 16:36:04
-28,800
a2e329748327b86f99dd03b8260325ff88b461ad
Encapsulate factory features
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "<script lang=\"ts\">\nimport AppButton from '@/components/AppButton.vue'\nimport { createComponent, onMounted, ref } from '@vue/composition-api'\n-import { initializeMap,...
Python
MIT License
disfactory/disfactory
Encapsulate factory features
163,176
08.12.2019 16:41:18
-28,800
5a9449e222bf285f540b1b3acc98e06125e7b2e3
Remove global mapInstance reference
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "+import { Map as OlMap, View, Feature, MapBrowserEvent } from 'ol'\nimport { Style, Icon } from 'ol/style'\nimport IconAnchorUnits from 'ol/style/IconAnchorUnits'\n-import { Map as OlMap...
Python
MIT License
disfactory/disfactory
Remove global mapInstance reference
163,176
08.12.2019 17:07:21
-28,800
677d3070667dabcb4324ad2e93e0f420dfc2205e
Register global accessible map controller
[ { "change_type": "MODIFY", "old_path": "frontend/src/App.vue", "new_path": "frontend/src/App.vue", "diff": "</template>\n<script lang=\"ts\">\n+import { createComponent, ref, provide } from '@vue/composition-api'\n+\nimport Map from '@/components/Map.vue'\nimport AppNavbar from '@/components/AppNavb...
Python
MIT License
disfactory/disfactory
Register global accessible map controller
163,176
08.12.2019 17:12:40
-28,800
d80d4800a23192f95200762f779a58a75e5b4f0a
Appease our poor little linter
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "@@ -87,7 +87,7 @@ export default createComponent({\nfactoryLngLat.value = [longitude, latitude]\nfactoryValid.value = canPlaceFactory\n- },\n+ }\n// TODO: do on start mov...
Python
MIT License
disfactory/disfactory
Appease our poor little linter
163,176
08.12.2019 17:19:32
-28,800
91b545432c75f7907611087c6075344919e84cb9
Remove unused map ref
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "@@ -70,7 +70,6 @@ export default createComponent({\nconst root = ref<HTMLElement>(null)\nconst factoryValid = ref(false)\nconst factoryLngLat = ref<number[]>([])\n- const...
Python
MIT License
disfactory/disfactory
Remove unused map ref
163,162
10.12.2019 12:43:10
-28,800
6296e97719919ae64fba23385f603f8f61f2813b
Add factory popup
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "@@ -13,6 +13,7 @@ import Geolocation from 'ol/Geolocation'\nimport { FactoryData, FactoryStatusType } from '../types'\nimport { flipArgriculturalLand } from '../lib/image'\n+import Rende...
Python
MIT License
disfactory/disfactory
Add factory popup
163,176
10.12.2019 22:20:27
-28,800
b4efa39e5bd0a7d34b2e652edd49721a624a21c6
Add updateFactory api method
[ { "change_type": "MODIFY", "old_path": "frontend/src/api/index.ts", "new_path": "frontend/src/api/index.ts", "diff": "@@ -4,7 +4,10 @@ import { FactoryPostData, FactoryData, FactoriesResponse } from '@/types'\nconst baseURL = process.env.NODE_ENV === 'production' ? 'https://middle2.disfactory.tw/api...
Python
MIT License
disfactory/disfactory
Add updateFactory api method
163,176
10.12.2019 22:20:48
-28,800
058908e0b6688c3c62e665c5176339c479fe60cb
WIP layout for edit mode FormPage
[ { "change_type": "MODIFY", "old_path": "frontend/src/styles/flex.scss", "new_path": "frontend/src/styles/flex.scss", "diff": "justify-content: space-between;\n}\n+.align-items-center {\n+ align-items: center;\n+}\n+\n.flex-column {\nflex-direction: column;\n}\n" } ]
Python
MIT License
disfactory/disfactory
WIP layout for edit mode FormPage
163,176
10.12.2019 22:49:31
-28,800
efc8a40a252bb8592f8ced04b59c0ad6e1d6db79
Extract initial value for create factory form
[ { "change_type": "MODIFY", "old_path": "frontend/src/App.vue", "new_path": "frontend/src/App.vue", "diff": "<form-page\nv-if=\"createFactoryPageOpen\"\n+ :mode=\"formMode\"\n+ :factoryData=\"editingFactory\"\n:close=\"closeFactoryPage\"\n:selectFactoryMode=\"selectFactoryMode\"\n:enterSelectFactoryM...
Python
MIT License
disfactory/disfactory
Extract initial value for create factory form
163,176
10.12.2019 23:04:36
-28,800
96f56cccaf878f5c1d4887132c5ea0ed1179d5f8
Remove privacy fields for input
[ { "change_type": "MODIFY", "old_path": "frontend/src/App.vue", "new_path": "frontend/src/App.vue", "diff": "/>\n<Map\n- :toggleFactoryPage=\"toggleFactoryPage\"\n+ :openCreateFactoryForm=\"openCreateFactoryForm\"\n+ :openEditFactoryForm=\"openEditFactoryForm\"\n:selectFactoryMode=\"selectFactoryMode...
Python
MIT License
disfactory/disfactory
Remove privacy fields for input
163,176
10.12.2019 23:14:14
-28,800
be05c06431a720e0b65b14b26d1b01ddbb736caa
Bind api action
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "@@ -113,8 +113,6 @@ export default createComponent({\nreturn\n}\n- console.log(popupData.value.factory)\n-\nprops.openEditFactoryForm(popupData.value.factory)\n}\n" } ]
Python
MIT License
disfactory/disfactory
Bind api action
163,176
10.12.2019 23:21:33
-28,800
10f024255112f98d99ce6b01f5c06e64cb14c048
Fix those typing things
[ { "change_type": "MODIFY", "old_path": "frontend/src/App.vue", "new_path": "frontend/src/App.vue", "diff": "@@ -45,6 +45,7 @@ import FormPage from '@/components/FormPage.vue'\nimport { MapFactoryController } from './lib/map'\nimport { MainMapControllerSymbol } from './symbols'\n+import { FactoryData...
Python
MIT License
disfactory/disfactory
Fix those typing things
163,176
10.12.2019 23:30:21
-28,800
e1189a9bf4db1d44a0c442c2ecbc3f0dd7636dea
Fix all types error
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/FormPage.vue", "new_path": "frontend/src/components/FormPage.vue", "diff": "@@ -147,12 +147,11 @@ export default createComponent({\nmode: {\ntype: String,\nrequired: true,\n- defaultValue: 'create',\n- validator: value => ['create', 'ed...
Python
MIT License
disfactory/disfactory
Fix all types error
163,162
11.12.2019 18:51:41
-28,800
33cdc4ee31f1f8ee57a7f8e45831a25f6cb5a62b
Fix popup fake disable and
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "@@ -145,6 +145,8 @@ export default createComponent({\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\npopupOverlay.setPosition((feature.getGeometry() as a...
Python
MIT License
disfactory/disfactory
Fix popup fake disable and #102
163,174
11.12.2019 20:44:26
-28,800
233b3b62dfd6cd037d4b411994a6cb30ecde2ff6
chore:middle2 deploy
[ { "change_type": "ADD", "old_path": null, "new_path": "Procfile", "diff": "+web: python3 ./manage.py migrate\n+web: python3 ./manage.py runserver 0.0.0.0:80 --noreload > /srv/logs/web.log 2>&1 &\n" }, { "change_type": "ADD", "old_path": null, "new_path": "m2-build.sh", "diff": "+...
Python
MIT License
disfactory/disfactory
chore:middle2 deploy
163,161
11.12.2019 21:27:50
-28,800
a441a9a0f6208bc60cb2164cdbe9d1fd32d7aa5a
let update api be a proper view
[ { "change_type": "MODIFY", "old_path": "backend/api/views/factories_u.py", "new_path": "backend/api/views/factories_u.py", "diff": "@@ -14,7 +14,7 @@ from ..serializers import FactorySerializer\nfrom .utils import _get_client_ip\n-#@api_view(['PUT'])\n+@api_view(['PUT'])\ndef update_factory_attribut...
Python
MIT License
disfactory/disfactory
let update api be a proper view
163,162
11.12.2019 22:12:16
-28,800
f12f0375d7e290035b59b35bb299515e0f0bd96a
Change backend api url
[ { "change_type": "MODIFY", "old_path": "frontend/src/api/index.ts", "new_path": "frontend/src/api/index.ts", "diff": "import axios from 'axios'\nimport { FactoryPostData, FactoryData, FactoriesResponse } from '@/types'\n-const baseURL = process.env.NODE_ENV === 'production' ? 'https://middle2.disfac...
Python
MIT License
disfactory/disfactory
Change backend api url
163,176
11.12.2019 21:41:56
-28,800
e0cbf0a64cfa44361fefa940d97ccae0dd2fca33
Try handle get Factories error
[ { "change_type": "MODIFY", "old_path": "frontend/src/api/index.ts", "new_path": "frontend/src/api/index.ts", "diff": "@@ -20,9 +20,13 @@ export type UploadedImages = {\n}[]\nexport async function getFactories (range: number, lng: number, lat: number): Promise<FactoriesResponse> {\n+ try {\nconst { d...
Python
MIT License
disfactory/disfactory
Try handle get Factories error
163,176
11.12.2019 21:44:48
-28,800
2e8994701fa5e8623b5bef392b4dfca9ca72b27b
Disable pinch to zoom gesture
[ { "change_type": "MODIFY", "old_path": "frontend/src/styles/global.scss", "new_path": "frontend/src/styles/global.scss", "diff": "@@ -10,6 +10,8 @@ body {\n-moz-osx-font-smoothing: grayscale;\n-webkit-font-smoothing: auto;\nfont-family: system-ui -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto...
Python
MIT License
disfactory/disfactory
Disable pinch to zoom gesture
163,176
11.12.2019 21:55:35
-28,800
78863e5944ac7447eb62aa4cc921e94db8210307
Ensure factoryValid no blocked by network error
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "@@ -128,6 +128,8 @@ export default createComponent({\n// eslint-disable-next-line @typescript-eslint/no-non-null-assertion\nconst mapController = initializeMap(root.value...
Python
MIT License
disfactory/disfactory
Ensure factoryValid no blocked by network error
163,176
11.12.2019 22:51:20
-28,800
7cd33592ff8a3fb68599efb1ba4b3612fd22c578
Update marker images
[ { "change_type": "MODIFY", "old_path": "frontend/public/images/marker-blue.svg", "new_path": "frontend/public/images/marker-blue.svg", "diff": "-<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"32\" height=\"41\" viewBox=\"0 0 32 41\">\n- <path fill=\"#447287\" fill-rule=\"evenodd\" d=\"M15.966 0C7...
Python
MIT License
disfactory/disfactory
Update marker images
163,161
11.12.2019 22:51:15
-28,800
1063f5a9be93564589b3564bca2db2ddc0e9a1a7
use sampling get_near_by_factories
[ { "change_type": "MODIFY", "old_path": "backend/api/views/tests/test_utils.py", "new_path": "backend/api/views/tests/test_utils.py", "diff": "@@ -36,9 +36,9 @@ class ViewsUtilsTestCase(TestCase):\npnt = Point(x=lng, y=lat, srid=4326)\npnt.transform(3857)\nd = D(km=radius)\n- with patch(\"api.views.u...
Python
MIT License
disfactory/disfactory
use sampling get_near_by_factories
163,162
11.12.2019 22:56:16
-28,800
625a46bf1390b7eeed5eb98bc3b1eee86fb0a99a
Fix popup disable block
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "@@ -122,7 +122,7 @@ export default createComponent({\n// eslint-disable-next-line @typescript-eslint/no-non-null-assertion\nelement: popup.value!,\npositioning: OverlayPo...
Python
MIT License
disfactory/disfactory
Fix popup disable block
163,161
11.12.2019 22:56:45
-28,800
a4516f22657581f767a6a6aa35d247fbe46e8250
fix wrong sampling method bug
[ { "change_type": "MODIFY", "old_path": "backend/api/views/utils.py", "new_path": "backend/api/views/utils.py", "diff": "@@ -23,8 +23,9 @@ def _upload_image(f_image, client_id):\ndef _sample(objs, k):\n- random.shuffle(list(objs))\n- return objs[:k]\n+ list_of_objs = list(objs)\n+ random.shuffle(list...
Python
MIT License
disfactory/disfactory
fix wrong sampling method bug
163,162
11.12.2019 23:24:16
-28,800
1ac88a916452f1b79400e88a59185a3423012307
Add change base map and change layer
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/image.ts", "new_path": "frontend/src/lib/image.ts", "diff": "@@ -49,25 +49,7 @@ export const toGrayScale = createImageProcessor(data => {\n})\nconst argriculturalLandColors = [\n- [152, 230, 0],\n- [209, 255, 115],\n- [171, 220, 97],\n- [110, ...
Python
MIT License
disfactory/disfactory
Add change base map and change layer
163,176
14.12.2019 17:35:12
-28,800
05119acad8a21f3152a4efafd66d7a7c01e3ffc1
Tune form page sizing & scroll behavior
[ { "change_type": "MODIFY", "old_path": "frontend/src/styles/page.scss", "new_path": "frontend/src/styles/page.scss", "diff": ".page {\nheight: 100%;\n+ overflow-y: auto;\nh1 {\nfont-size: 36px;\n" } ]
Python
MIT License
disfactory/disfactory
Tune form page sizing & scroll behavior
163,176
08.12.2019 21:31:31
-28,800
979971248573669518dd367d0bd6b9d69d486710
Attach minimap to Form
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "@@ -14,6 +14,7 @@ import Geolocation from 'ol/Geolocation'\nimport { FactoryData, FactoryStatusType } from '../types'\nimport { flipArgriculturalLand } from '../lib/image'\nimport Render...
Python
MIT License
disfactory/disfactory
Attach minimap to Form
163,176
08.12.2019 22:06:21
-28,800
02a7f3307b79a5d1f645720ab45a0d77dc3f4684
Sync minimap factories
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/FormPage.vue", "new_path": "frontend/src/components/FormPage.vue", "diff": "@@ -244,8 +244,13 @@ export default createComponent({\nconst minimap = ref<HTMLElement>(null)\nonMounted(() => {\n+ if (mapController.value) {\n+ const controll...
Python
MIT License
disfactory/disfactory
Sync minimap factories
163,176
14.12.2019 17:47:47
-28,800
98a63a4946ad56c9d851a089b52e2a528e1c29c1
Fix map options not feeded into instantiateOLMap
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "@@ -300,7 +300,7 @@ export class OLMap {\nthis.mapDom = target\nthis.baseLayer = getBaseLayer(BASE_MAP.OSM, this.tileGrid)\n- this._map = this.instantiateOLMap(this.mapDom, this.baseLaye...
Python
MIT License
disfactory/disfactory
Fix map options not feeded into instantiateOLMap
163,176
14.12.2019 22:09:47
-28,800
02fa783dd4a8c507957d07ba463703878f86282c
Set minimap pin in edit mode
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "import { Map as OlMap, View, Feature, MapBrowserEvent } from 'ol'\n-import { Style, Icon } from 'ol/style'\n+import { Style, Icon, Circle, Fill, Stroke } from 'ol/style'\nimport IconAnch...
Python
MIT License
disfactory/disfactory
Set minimap pin in edit mode
163,176
14.12.2019 22:11:57
-28,800
5e77626304599c2a3c81a2abfe9cfc3ee78a62de
Update minimap center when setting pin
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "@@ -479,9 +479,11 @@ export class OLMap {\n}\npublic setMinimapPin (longitude: number, latitude: number) {\n+ const coordinate = transform([longitude, latitude], 'EPSG:4326', 'EPSG:3857'...
Python
MIT License
disfactory/disfactory
Update minimap center when setting pin
163,176
14.12.2019 22:23:58
-28,800
4d55c938c369be364e1b1a6116d698c8356d1cb5
Fix popup offset
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "@@ -222,7 +222,7 @@ export default createComponent({\nvisibility: hidden;\nopacity: 0;\ntransition: visibility,opacity 0.5s linear;\n- transform: translate(-16px, 25px);\...
Python
MIT License
disfactory/disfactory
Fix popup offset
163,176
15.12.2019 00:18:36
-28,800
7804c047db2e8f490de11179fd443a3c29707c2b
Toggle LUIMAP layer visibility
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "@@ -6,7 +6,7 @@ import WMTS from 'ol/source/WMTS'\nimport WMTSTileGrid from 'ol/tilegrid/WMTS'\nimport { get as getProjection, transform } from 'ol/proj'\nimport { getWidth, getTopLeft }...
Python
MIT License
disfactory/disfactory
Toggle LUIMAP layer visibility
163,176
15.12.2019 12:15:24
-28,800
abc62b3a52dbfc7c5a0a0005c44bd8e66806dfe1
New create factory flow
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/FormPage.vue", "new_path": "frontend/src/components/FormPage.vue", "diff": "</template>\n<script lang=\"ts\">\n-import { createComponent, ref, computed, inject, Ref, onMounted } from '@vue/composition-api'\n+import { createComponent, re...
Python
MIT License
disfactory/disfactory
New create factory flow
163,176
15.12.2019 12:19:24
-28,800
e62d0eda104549092556bd4c7fdb3499141249e7
Fix updating minimap pin
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/FormPage.vue", "new_path": "frontend/src/components/FormPage.vue", "diff": "@@ -154,7 +154,7 @@ export default createComponent({\n},\nsetup (props) {\nconst mapController = inject(MainMapControllerSymbol, ref<MapFactoryController>())\n-...
Python
MIT License
disfactory/disfactory
Fix updating minimap pin
163,176
15.12.2019 14:01:17
-28,800
d65d45e6662e1802e830b83ade6e547c63a95214
Fix center pointer positioning
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "@@ -232,11 +232,11 @@ export default createComponent({\nborder: solid 2px white;\nposition: fixed;\n- top: 0;\n+ top: 50%;\nleft: 0;\nz-index: 2;\n- transform: translate(...
Python
MIT License
disfactory/disfactory
Fix center pointer positioning
163,176
15.12.2019 16:44:25
-28,800
36c175b8e8fc8d23bf7012ca1263a031a5de992b
Remove popover fadeout animation temporarily
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "@@ -125,8 +125,7 @@ export default createComponent({\nconst popupOverlay = new Overlay({\n// eslint-disable-next-line @typescript-eslint/no-non-null-assertion\nelement: p...
Python
MIT License
disfactory/disfactory
Remove popover fadeout animation temporarily
163,176
15.12.2019 16:54:33
-28,800
13f26dec115db5d9e6346417840dfda8189bc3cf
Add back fadein css animation
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "@@ -238,11 +238,21 @@ export default createComponent({\ntransform: translate(calc(50vw - 12.5px), 12.5px);\n}\n+@keyframes fadein {\n+ from {\n+ opacity: 0;\n+ }\n+\n+ to...
Python
MIT License
disfactory/disfactory
Add back fadein css animation
163,162
16.12.2019 20:37:07
-28,800
a71a3c20fb3e8a20fb4e3234f764dab4ffc2d8b9
Ignore frontend deploy branch
[ { "change_type": "MODIFY", "old_path": ".circleci/config.yml", "new_path": ".circleci/config.yml", "diff": "@@ -110,8 +110,16 @@ workflows:\nversion: 2\nbuild:\njobs:\n- - frontend-lint\n- - frontend-build\n+ - frontend-lint:\n+ filters:\n+ branches:\n+ ignore:\n+ - gh-pages\n+ - frontend-build:\n+ ...
Python
MIT License
disfactory/disfactory
Ignore frontend deploy branch
163,176
16.12.2019 21:07:25
-28,800
0cbcd2121fea3fccd05f8a4718f2bdc1994d1cb1
Fix image upload on chrome
[ { "change_type": "ADD", "old_path": null, "new_path": "frontend/src/lib/browserCheck.js", "diff": "+export const isSafari = /constructor/i.test(window.HTMLElement) || (function (p) { return p.toString() === \"[object SafariRemoteNotification]\"; })(!window['safari'] || (typeof safari !== 'undefined'...
Python
MIT License
disfactory/disfactory
Fix image upload on chrome
163,176
16.12.2019 21:32:17
-28,800
044dc3ca3bd90bc6ae7204c3b3aebc5799204832
Check iOS and safari
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/browserCheck.js", "new_path": "frontend/src/lib/browserCheck.js", "diff": "+export const isiOS = !!(navigator.userAgent.match(/(iPod|iPhone|iPad)/) && navigator.userAgent.match(/AppleWebKit/))\n+\nexport const isSafari = /constructor/i.test(wi...
Python
MIT License
disfactory/disfactory
Check iOS and safari
163,176
16.12.2019 21:32:38
-28,800
d5f3439a18959668f69fe4cdacf303d0b5087276
Workaround iOS safari cache invalidation
[ { "change_type": "MODIFY", "old_path": "frontend/vue.config.js", "new_path": "frontend/vue.config.js", "diff": "@@ -10,5 +10,13 @@ module.exports = {\n}\n}\n}\n+ },\n+ chainWebpack: config => {\n+ if (process.env.NODE_ENV === 'development') {\n+ config\n+ .output\n+ .filename('[name].[hash].js')\n+ ...
Python
MIT License
disfactory/disfactory
Workaround iOS safari cache invalidation
163,162
16.12.2019 21:42:21
-28,800
a63ecd69b00ea577f8621691c12ae6f09886122b
Add app sidebar
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/AppModal.vue", "new_path": "frontend/src/components/AppModal.vue", "diff": "@@ -33,6 +33,7 @@ export default createComponent({\n<style lang=\"scss\" scoped>\n@import '../styles/variables';\n+@import '~@/styles/utils';\n.app-modal-compon...
Python
MIT License
disfactory/disfactory
Add app sidebar
163,162
17.12.2019 19:26:11
-28,800
f843af966b5e08f99553c6f64ae0a732fe82f322
Fix layout and change state data position
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/AppSidebar.vue", "new_path": "frontend/src/components/AppSidebar.vue", "diff": "@@ -68,7 +68,7 @@ export default createComponent({\nmax-width: 400px;\ncolor: #fff;\nbackground-color: #6d8538;\n- padding: 60px 120px 20px 30px;\n+ padding...
Python
MIT License
disfactory/disfactory
Fix layout and change state data position
163,162
17.12.2019 20:02:07
-28,800
d3f0b4468aec90f671217dc7651b7dc4ff9e92e2
Fix rotation threshold and add change resolution
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "@@ -10,6 +10,7 @@ import { Tile as TileLayer, Vector as VectorLayer, Layer } from 'ol/layer'\nimport { Vector as VectorSource, OSM } from 'ol/source'\nimport { Zoom } from 'ol/control'\n...
Python
MIT License
disfactory/disfactory
Fix rotation threshold and add change resolution
163,176
16.12.2019 23:19:15
-28,800
a5b4f765f772d937a5a10d3bc8f7c1fbe50ce186
Polish image upload flow
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/FormPage.vue", "new_path": "frontend/src/components/FormPage.vue", "diff": "</div>\n<div class=\"images-grid\">\n- <div class=\"image-card\" :key=\"url\" v-for=\"url in imageUrls\" >\n+ <div class=\"image-card\" :key=\"url\" v-for=\"url...
Python
MIT License
disfactory/disfactory
Polish image upload flow
163,176
16.12.2019 23:22:14
-28,800
f7e68262e5d76709a759f8c66e34ead13aca3608
Fix form valid type
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/FormPage.vue", "new_path": "frontend/src/components/FormPage.vue", "diff": "@@ -211,7 +211,7 @@ export default createComponent({\nconst typeValid = type !== '0'\nconst imagesValid = images.length > 0\n- formPageState.valid = textFieldsV...
Python
MIT License
disfactory/disfactory
Fix form valid type
163,162
17.12.2019 20:16:40
-28,800
34540317787f8f95a633bba2bdc7b1d42434ee60
Add scale line
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "@@ -8,7 +8,7 @@ import { get as getProjection, transform } from 'ol/proj'\nimport { getWidth, getTopLeft } from 'ol/extent'\nimport { Tile as TileLayer, Vector as VectorLayer, Layer } fr...
Python
MIT License
disfactory/disfactory
Add scale line
163,176
17.12.2019 20:44:48
-28,800
06d930914b705558a485fe8439e8c35baf58bdda
New rect button style for edit mode
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/AppButton.vue", "new_path": "frontend/src/components/AppButton.vue", "diff": "<template>\n<button\n- :class=\"{ outline, disabled }\"\n+ :class=\"{ outline, disabled, rect }\"\n@click=\"click\"\n>\n<slot />\n@@ -20,6 +20,10 @@ export de...
Python
MIT License
disfactory/disfactory
New rect button style for edit mode
163,176
17.12.2019 21:20:57
-28,800
ec696baead6b79777e9513de3f278276685070b2
Display and update images for existing factory
[ { "change_type": "MODIFY", "old_path": "frontend/src/api/index.ts", "new_path": "frontend/src/api/index.ts", "diff": "import axios from 'axios'\n-import { FactoryPostData, FactoryData, FactoriesResponse } from '@/types'\n+import { FactoryPostData, FactoryData, FactoriesResponse, FactoryImage } from ...
Python
MIT License
disfactory/disfactory
Display and update images for existing factory
163,176
17.12.2019 21:33:49
-28,800
e2209392c5088a3a51c361d8e07e80835a1165d7
Implement factory field updating state
[ { "change_type": "MODIFY", "old_path": "frontend/src/api/index.ts", "new_path": "frontend/src/api/index.ts", "diff": "@@ -84,6 +84,7 @@ export async function createFactory (factory: FactoryPostData): Promise<FactoryD\n// !FIXME: add more factory fields\ntype UpdatableFactoryFields = {\n+ name: strin...
Python
MIT License
disfactory/disfactory
Implement factory field updating state
163,161
18.12.2019 19:42:44
-28,800
fdfee99b924c9649b80361b9f7d3d25632832ebc
add a nickname field for ReportRecord
[ { "change_type": "ADD", "old_path": null, "new_path": "backend/api/migrations/0007_report_record_add_nickname_field.py", "diff": "+# Generated by Django 2.2.4 on 2019-12-18 11:42\n+\n+from django.db import migrations, models\n+\n+\n+class Migration(migrations.Migration):\n+\n+ dependencies = [\n+ ('...
Python
MIT License
disfactory/disfactory
add a nickname field for ReportRecord
163,162
18.12.2019 20:08:41
-28,800
088fb6bdc98addeb29d5d1f7d26874e0494a367f
Fix add factory map position
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "@@ -318,7 +318,6 @@ export class OLMap {\nthis.baseLayer = getBaseLayer(BASE_MAP.OSM, this.tileGrid)\nthis._map = this.instantiateOLMap(this.mapDom, this.baseLayer, options)\n- this.geol...
Python
MIT License
disfactory/disfactory
Fix add factory map position
163,161
18.12.2019 20:09:41
-28,800
f86aa9f3f98f6d69bc599837d05c33ccc5ce530e
let factory creation allow nickname
[ { "change_type": "MODIFY", "old_path": "backend/api/views/factories_cr.py", "new_path": "backend/api/views/factories_cr.py", "diff": "@@ -117,6 +117,7 @@ def get_nearby_or_create_factories(request):\n'user_ip': user_ip,\n'action_type': \"POST\",\n\"action_body\": post_body,\n+ 'nickname': post_body....
Python
MIT License
disfactory/disfactory
let factory creation allow nickname
163,162
18.12.2019 20:12:44
-28,800
3bbc59ed86e201947a87b97501329eabfc8eb5fd
Fix not update factories
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "@@ -131,6 +131,8 @@ export class MapFactoryController {\n.map(createFactoryFeature)\nthis.factoriesLayerSource.addFeatures(features)\n+\n+ factories.forEach((factory) => this.updateFacto...
Python
MIT License
disfactory/disfactory
Fix not update factories
163,162
18.12.2019 20:18:54
-28,800
19487e94afcc12e7245a886681543e20e6c9b227
Ignore gh-pages commits
[ { "change_type": "MODIFY", "old_path": ".circleci/config.yml", "new_path": ".circleci/config.yml", "diff": "@@ -72,7 +72,7 @@ jobs:\n- \"15:64:e1:a2:bf:d0:8e:4b:4f:f1:22:2d:62:18:1b:ad\"\n- run:\nname: Deploy docs to gh-pages branch\n- command: npx gh-pages --dist frontend/dist\n+ command: npx gh-pa...
Python
MIT License
disfactory/disfactory
Ignore gh-pages commits
163,161
18.12.2019 20:25:52
-28,800
64650bfd61c3719bad44aafc20ad54d95bc3660d
let factory image uploading allow nickname and contact
[ { "change_type": "MODIFY", "old_path": "backend/api/views/factory_image_c.py", "new_path": "backend/api/views/factory_image_c.py", "diff": "@@ -34,6 +34,8 @@ def post_factory_image(request, factory_id):\nclient_ip = _get_client_ip(request)\n+ put_body = request.POST\n+\nwith transaction.atomic():\nf...
Python
MIT License
disfactory/disfactory
let factory image uploading allow nickname and contact
163,176
18.12.2019 20:34:23
-28,800
63a95fbcffb26e44204752e94b6f018996422ea8
The only required field are image & geolocation
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/FormPage.vue", "new_path": "frontend/src/components/FormPage.vue", "diff": "@@ -222,16 +222,11 @@ export default createComponent({\nwatch(() => {\nconst {\n- name,\n- others,\n- type,\nimages\n} = factoryFormState\n- const textFieldsVal...
Python
MIT License
disfactory/disfactory
The only required field are image & geolocation
163,176
18.12.2019 20:51:17
-28,800
4b66cd6fed34df5a79ea9403892cdad7b6fc9dc8
Fix range calculation
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "@@ -338,7 +338,7 @@ export class OLMap {\n// resolution in meter\n// eslint-disable-next-line @typescript-eslint/no-non-null-assertion\nconst resolution = view.getResolutionForZoom(zoom!...
Python
MIT License
disfactory/disfactory
Fix range calculation
163,180
18.12.2019 12:54:04
0
77dfbed46b910f64b3c64dab363bc1e3645f47aa
hide the serect key
[ { "change_type": "MODIFY", "old_path": "backend/gis_project/settings.py", "new_path": "backend/gis_project/settings.py", "diff": "@@ -21,8 +21,9 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))\n# See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/\n# SECUR...
Python
MIT License
disfactory/disfactory
hide the serect key
163,176
18.12.2019 20:58:42
-28,800
f81451bd8849f4ecba4de8af4fe74de2270eb06c
Update button width
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/Map.vue", "new_path": "frontend/src/components/Map.vue", "diff": "@@ -232,11 +232,11 @@ export default createComponent({\nbottom: 48px;\n.create-factory-button {\n- transform: translateX(calc(50vw - 125.735px));\n+ transform: translateX...
Python
MIT License
disfactory/disfactory
Update button width
163,161
18.12.2019 20:58:52
-28,800
1e3fe25a0eec0a82fcf395ce7d353a5359db318a
disallow position update
[ { "change_type": "MODIFY", "old_path": "backend/api/views/factories_u.py", "new_path": "backend/api/views/factories_u.py", "diff": "@@ -4,7 +4,7 @@ from datetime import datetime\nfrom rest_framework.decorators import api_view\nfrom django.db import transaction\n-from django.http import JsonResponse\...
Python
MIT License
disfactory/disfactory
disallow position update
163,176
18.12.2019 21:06:24
-28,800
1b72db244bace5b2a118bc4ab1b9ea45396da06e
Fix image state update
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/FormPage.vue", "new_path": "frontend/src/components/FormPage.vue", "diff": "@@ -346,7 +346,7 @@ export default createComponent({\nfactoryFormState.imageUrls = factoryFormState.imageUrls.concat((_images as FactoryImage[]).map(image => im...
Python
MIT License
disfactory/disfactory
Fix image state update
163,180
18.12.2019 13:23:36
0
88761f4ebed18252ec02bf5e364f9d0339e374cb
add to sample and cancel print
[ { "change_type": "MODIFY", "old_path": "backend/gis_project/settings.py", "new_path": "backend/gis_project/settings.py", "diff": "@@ -23,7 +23,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))\n# SECURITY WARNING: keep the secret key used in production secret!\nSECRET_KEY =...
Python
MIT License
disfactory/disfactory
add to sample and cancel print
163,162
18.12.2019 22:01:38
-28,800
8d61368ada55f5e62b88b19c450126ff0694d86e
Handle backpressd event
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/FormPage.vue", "new_path": "frontend/src/components/FormPage.vue", "diff": "@@ -118,6 +118,7 @@ import { FactoryPostData, FACTORY_TYPE, FactoryType, FactoryData, FactoryImage }\nimport { MapFactoryController, initializeMinimap } from '....
Python
MIT License
disfactory/disfactory
Handle backpressd event
163,176
18.12.2019 22:10:10
-28,800
49885b2ec8f0f94ec93bf022c6e90d7623587d10
Update nickname/contact in update image api
[ { "change_type": "MODIFY", "old_path": "frontend/src/api/index.ts", "new_path": "frontend/src/api/index.ts", "diff": "@@ -52,13 +52,20 @@ export async function uploadImages (files: FileList): Promise<UploadedImages> {\nreturn results\n}\n-export async function updateFactoryImages (factoryId: string,...
Python
MIT License
disfactory/disfactory
Update nickname/contact in update image api
163,160
20.12.2019 13:19:47
-28,800
301d2fa8abc83fee125c7ad1aab0160a5a414e6a
get Multi allow_host from env
[ { "change_type": "MODIFY", "old_path": "backend/docker-compose.yml", "new_path": "backend/docker-compose.yml", "diff": "@@ -16,6 +16,7 @@ services:\nDISFACTORY_BACKEND_DEFAULT_DB_PASSWORD: cop\nDISFACTORY_BACKEND_DEFAULT_DB_HOST: db\nDISFACTORY_BACKEND_DEFAULT_DB_PORT: 5432\n+ DISFACTORY_ALLOWED_HOS...
Python
MIT License
disfactory/disfactory
get Multi allow_host from env
163,160
21.12.2019 08:06:42
-28,800
459efe1f9ed23941dc75274676174f25c0976e4a
set allowed host and fix allowed host parsing logic
[ { "change_type": "MODIFY", "old_path": "backend/docker-compose.yml", "new_path": "backend/docker-compose.yml", "diff": "@@ -16,7 +16,7 @@ services:\nDISFACTORY_BACKEND_DEFAULT_DB_PASSWORD: cop\nDISFACTORY_BACKEND_DEFAULT_DB_HOST: db\nDISFACTORY_BACKEND_DEFAULT_DB_PORT: 5432\n- DISFACTORY_ALLOWED_HOS...
Python
MIT License
disfactory/disfactory
set allowed host and fix allowed host parsing logic
163,176
22.12.2019 15:53:24
-28,800
1534b445acd58a60476097b7779d5ee5123359e6
Add about modal
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/AppModal.vue", "new_path": "frontend/src/components/AppModal.vue", "diff": "@@ -36,7 +36,7 @@ export default createComponent({\n@import '~@/styles/utils';\n.app-modal-component {\n- z-index: 1;\n+ z-index: 997;\nposition: fixed;\njustif...
Python
MIT License
disfactory/disfactory
Add about modal
163,176
22.12.2019 16:03:00
-28,800
ee17b5d7d87509193f8f0a9e8df43492c4e1596e
Style contact modal
[ { "change_type": "ADD", "old_path": "frontend/public/images/cet-logo.png", "new_path": "frontend/public/images/cet-logo.png", "diff": "Binary files /dev/null and b/frontend/public/images/cet-logo.png differ\n" }, { "change_type": "MODIFY", "old_path": "frontend/src/styles/page.scss", ...
Python
MIT License
disfactory/disfactory
Style contact modal
163,176
22.12.2019 16:14:43
-28,800
b0ff8651218fcbad0386c403c6bb92780178bc67
Add getting started modal
[ { "change_type": "ADD", "old_path": "frontend/public/images/menu-pic.png", "new_path": "frontend/public/images/menu-pic.png", "diff": "Binary files /dev/null and b/frontend/public/images/menu-pic.png differ\n" }, { "change_type": "MODIFY", "old_path": "frontend/src/App.vue", "new_pat...
Python
MIT License
disfactory/disfactory
Add getting started modal
163,176
22.12.2019 16:47:07
-28,800
1583adfb1bd9bd69ea96141a41223d8b03223218
Install vue-carousel
[ { "change_type": "MODIFY", "old_path": "frontend/package-lock.json", "new_path": "frontend/package-lock.json", "diff": "}\n}\n},\n+ \"dom-walk\": {\n+ \"version\": \"0.1.1\",\n+ \"resolved\": \"https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.1.tgz\",\n+ \"integrity\": \"sha1-ZyIm3HTI95mtNTB9+Taro...
Python
MIT License
disfactory/disfactory
Install vue-carousel
163,176
22.12.2019 16:47:19
-28,800
d367bb4efc8aacde56e57bda30b255a364fd3e85
Add safety modal
[ { "change_type": "ADD", "old_path": "frontend/public/images/safety_notice/1.png", "new_path": "frontend/public/images/safety_notice/1.png", "diff": "Binary files /dev/null and b/frontend/public/images/safety_notice/1.png differ\n" }, { "change_type": "ADD", "old_path": "frontend/public/i...
Python
MIT License
disfactory/disfactory
Add safety modal
163,161
25.12.2019 18:37:34
-28,800
8cc2be66f85de731348c74de46fb8236b4ed0113
better message for allowed_host parsing
[ { "change_type": "MODIFY", "old_path": "backend/.env.sample", "new_path": "backend/.env.sample", "diff": "@@ -4,7 +4,7 @@ DISFACTORY_BACKEND_DEFAULT_DB_PASSWORD=postgres\nDISFACTORY_BACKEND_DEFAULT_DB_HOST=db\nDISFACTORY_BACKEND_DEFAULT_DB_PORT=5432\n-DIFACTORY_ALLOWED_HOST=host_url\n+DISFACTORY_ALL...
Python
MIT License
disfactory/disfactory
better message for allowed_host parsing
163,159
25.12.2019 14:48:18
0
3725a1befa558d5417a7e9f3456c9cc010623e32
Solving issue 171, ready to test branch get_add_single_factory_api.
[ { "change_type": "MODIFY", "old_path": "backend/api/views/factories_u.py", "new_path": "backend/api/views/factories_u.py", "diff": "@@ -13,9 +13,12 @@ from ..serializers import FactorySerializer\nfrom .utils import _get_client_ip\n+from django.core.exceptions import ObjectDoesNotExist\n+\n@api_view(...
Python
MIT License
disfactory/disfactory
Solving issue 171, ready to test branch get_add_single_factory_api.
163,161
26.12.2019 19:05:32
-28,800
583fb090d95abae3c52a9596f60c3ab9019ee8b8
add test for single factory get API
[ { "change_type": "MODIFY", "old_path": "backend/api/views/tests/test_factories_u.py", "new_path": "backend/api/views/tests/test_factories_u.py", "diff": "from datetime import datetime, timezone\n+from uuid import uuid4\nfrom django.test import TestCase, Client\nfrom django.conf import settings\n@@ -...
Python
MIT License
disfactory/disfactory
add test for single factory get API
163,161
26.12.2019 19:05:53
-28,800
5c0541c9790f8b78a7919ca52ae347b3d3866387
fix factory get bug
[ { "change_type": "MODIFY", "old_path": "backend/api/views/factories_u.py", "new_path": "backend/api/views/factories_u.py", "diff": "@@ -16,7 +16,7 @@ from .utils import _get_client_ip\nfrom django.core.exceptions import ObjectDoesNotExist\n-@api_view(['PUT'])\n+@api_view(['PUT', 'GET'])\ndef update_...
Python
MIT License
disfactory/disfactory
fix factory get bug
163,161
26.12.2019 19:36:10
-28,800
84d5d170a5249aa273b20733adea703bdf289b89
install gunicorn
[ { "change_type": "MODIFY", "old_path": "backend/Pipfile", "new_path": "backend/Pipfile", "diff": "@@ -15,6 +15,7 @@ python-dotenv = \"==0.10.3\"\nrequests = \"*\"\npillow = \"*\"\ndjango-cors-headers = \"*\"\n+gunicorn = \"*\"\n[requires]\npython_version = \"3.7\"\n" }, { "change_type": "MOD...
Python
MIT License
disfactory/disfactory
install gunicorn
163,161
26.12.2019 19:47:24
-28,800
bb2d49a6070c36186bee2d48d3f149f45f5777f6
modify docker-compose web up command to use gunicorn
[ { "change_type": "MODIFY", "old_path": "backend/docker-compose.yml", "new_path": "backend/docker-compose.yml", "diff": "@@ -3,7 +3,7 @@ version: '3.7'\nservices:\nweb:\nbuild: .\n- command: python /Disfactory/manage.py runserver 0.0.0.0:8000\n+ command: python -m gunicorn -c gunicorn.conf.py gis_pro...
Python
MIT License
disfactory/disfactory
modify docker-compose web up command to use gunicorn
163,161
28.12.2019 19:09:45
-28,800
fc9051d9f04fd4b47b511a28eabf5add8e314d23
add log when create new factory
[ { "change_type": "MODIFY", "old_path": "backend/api/views/factories_cr.py", "new_path": "backend/api/views/factories_cr.py", "diff": "+import logging\nfrom typing import List\nimport json\nimport datetime\n@@ -15,6 +16,8 @@ from django.conf import settings\nimport easymap\n+LOGGER = logging.getLogge...
Python
MIT License
disfactory/disfactory
add log when create new factory
163,176
28.12.2019 20:23:57
-28,800
da6241c904f97605bf2fc4d424ecd723e2d3737c
Update pre line wrapping
[ { "change_type": "MODIFY", "old_path": "frontend/src/components/GettingStartedModal.vue", "new_path": "frontend/src/components/GettingStartedModal.vue", "diff": "@@ -45,13 +45,20 @@ export default createComponent({\n@import '@/styles/variables';\n.getting-started-container .app-modal {\n- top: 47px;...
Python
MIT License
disfactory/disfactory
Update pre line wrapping
163,162
30.12.2019 21:25:58
-28,800
f3adaf2b0f7d6e4d0d6274ce134077e8f88306f2
Add reset rotate button and now position style
[ { "change_type": "ADD", "old_path": null, "new_path": "frontend/public/images/now.svg", "diff": "+<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"25\" height=\"30\" viewBox=\"0 0 50 60\">\n+ <polyline fill=\"#0099ff\" stroke=\"#fff\" stroke-width=\"3\" points=\"25 0, 50 60, 25 50, 0 60, 25 0\"/>\n...
Python
MIT License
disfactory/disfactory
Add reset rotate button and now position style
163,162
31.12.2019 11:05:25
-28,800
8d9ac4bb7e786b8b0f5887a91e36b10dc5be2b19
Replace deg to red on heading
[ { "change_type": "MODIFY", "old_path": "frontend/src/lib/map.ts", "new_path": "frontend/src/lib/map.ts", "diff": "@@ -433,7 +433,7 @@ export class OLMap {\nimage: new Icon({\nanchor: [0.5, 0.5],\nsrc: '/images/now.svg',\n- rotation: Math.PI / 180 * heading,\n+ rotation: heading,\nrotateWithView: tru...
Python
MIT License
disfactory/disfactory
Replace deg to red on heading
163,161
03.01.2020 16:49:30
-28,800
7e032b13be533d64a9f4acb0ccc6da12bb3dedd6
change serializer default fields
[ { "change_type": "MODIFY", "old_path": "backend/api/serializers.py", "new_path": "backend/api/serializers.py", "diff": "@@ -34,7 +34,8 @@ class FactorySerializer(ModelSerializer):\n\"landcode\",\n\"factory_type\",\n\"type\",\n- \"status\",\n+ \"cet_report_status\",\n+ \"before_2016\",\n\"images\",\n...
Python
MIT License
disfactory/disfactory
change serializer default fields
163,161
03.01.2020 17:40:28
-28,800
42b4223d92ddf65440982a41a24ab7eb8279318e
impl data_complete field
[ { "change_type": "MODIFY", "old_path": "backend/api/serializers.py", "new_path": "backend/api/serializers.py", "diff": "+from datetime import timedelta\n+\nfrom rest_framework.serializers import (\nModelSerializer,\nCharField,\nSerializerMethodField,\nValidationError,\n)\n+from django.utils import t...
Python
MIT License
disfactory/disfactory
impl data_complete field
163,161
03.01.2020 17:44:13
-28,800
7b01edeee84a22638e9c50dd60533f7544243e5e
fix views tests based on new serializers
[ { "change_type": "MODIFY", "old_path": "backend/api/views/tests/test_factories_u.py", "new_path": "backend/api/views/tests/test_factories_u.py", "diff": "@@ -72,7 +72,7 @@ class PutUpdateFactoryAttribute(TestCase):\ndef test_update_factory_status(self):\ncli = Client()\nput_body = {\n- \"status\": \...
Python
MIT License
disfactory/disfactory
fix views tests based on new serializers
163,161
04.01.2020 03:18:08
-28,800
96685b4cb7b2b077c585a9803b12429d02c2295d
add back factory old status field for backward compatibility
[ { "change_type": "MODIFY", "old_path": "backend/api/serializers.py", "new_path": "backend/api/serializers.py", "diff": "@@ -27,6 +27,7 @@ class FactorySerializer(ModelSerializer):\ntype = CharField(source=\"factory_type\")\nreported_at = SerializerMethodField()\ndata_complete = SerializerMethodField...
Python
MIT License
disfactory/disfactory
add back factory old status field for backward compatibility
163,174
04.01.2020 19:58:26
-28,800
c0cb4ce383c3cf12710d29201f5142d3c40aa365
chore:use gunicorn instead of runserver
[ { "change_type": "MODIFY", "old_path": "Procfile", "new_path": "Procfile", "diff": "web: python3 ./manage.py migrate\n-web: python3 ./manage.py runserver 0.0.0.0:80 --noreload > /srv/logs/web.log 2>&1 &\n+web: cd backend && gunicorn -c gunicorn.conf.py gis_project.wsgi -b 0.0.0.0:80 > /srv/logs/web....
Python
MIT License
disfactory/disfactory
chore:use gunicorn instead of runserver
163,161
05.01.2020 18:14:28
-28,800
c6dadf8128329f18e5155b035b012505c87b047a
install django-q
[ { "change_type": "MODIFY", "old_path": "backend/Pipfile", "new_path": "backend/Pipfile", "diff": "@@ -16,6 +16,7 @@ requests = \"*\"\npillow = \"*\"\ndjango-cors-headers = \"*\"\ngunicorn = \"*\"\n+django-q = \"*\"\n[requires]\npython_version = \"3.7\"\n" }, { "change_type": "MODIFY", "o...
Python
MIT License
disfactory/disfactory
install django-q