Skip to content

Releases: PublicDesignWorkshop/FoodParent2.0

Change image upload payload (no need to disable apache security module)

28 Jun 20:59
Compare
Choose a tag to compare
  • Change default tilemap from cartodb to Mapbox street.
  • Use Blob to send image data instead of base64 string data
  • Use exif library to correct orientation of image from mobile devices.
  • Fix some wording issues.

Resize image using Javascript & Canvas to improve image transferring speed

28 Jun 09:01
Compare
Choose a tag to compare
  • Please update index.html file.
  • {app-root-directory}/dist folder includes necessary libraries and compiled version of js file for {domain}/FoodParent2.0 url.
  • Make sure your hosting service allows sending base64 image data via POST. Many hosting services block this rule using Mode Security module to protect from various attack. However, if you contact to admin of your hosting site, you can ask to allow this specific rule so that you can send base64 data via POST.

FoodParent Beta Version 1.0

14 Jun 01:25
Compare
Choose a tag to compare

Localization is available. (Check {app-root-directory}/src/constraints/localization.tsx)

  • English is added. (Check {app-root-directory}/src/constraints/localization-en.json)
  • Korean is added. (Check {app-root-directory}/src/constraints/localization-ko.json)

Graph

13 Jun 16:47
Compare
Choose a tag to compare
Graph Pre-release
Pre-release

Now, Donation panel & Tree panel has a graph.

tree graph

You need to login as a manager or admin to see the donation mode.

* I used Chart.js library, but I couldn't bundle it together as foodparent.js file. So make sure to upload {app-root-directory}/dist/Chart.Core.js and {app-root-directory}/dist/Chart.Scatter.js.

  • You also need to upload {app-root-directory}/index.html so that index.html file can import chart.js library.

Apply CSS to flagged trees & Ability to cancel adding a tree

13 Jun 01:45
Compare
Choose a tag to compare

Version released with a feature based on Issue #2 and #14
The database structure is located under {app-root-foler}/serverconfig/tree_parent.sql.
The CSS styles for flagged icons are defined in {app-root-foler}/src/client.css.

Hidden flag example: http://foodparent.thecaptainwhale.com/tree/723
Dead flag example: http://foodparent.thecaptainwhale.com/tree/47

  • You need to login as manager or admin account to find these trees.

Playing with a cluster disable value & remove unnecessary files

12 Jun 03:30
Compare
Choose a tag to compare

The database structure is located under {app-root-foler}/serverconfig/tree_parent.sql

Calculating season trees

12 Jun 02:55
Compare
Choose a tag to compare
Pre-release

Based on Issue #28, Whenever the program is loaded, it read the rate filed data oftree, and updateseasonfield onfood` table.

The database structure is located under {app-root-foler}/serverconfig/tree_parent.sql

Donation page for manager

11 Jun 16:31
Compare
Choose a tag to compare
Pre-release

Draft version of donation page

10 Steps for adding a new donation

  1. Click the donation menu on the right control bar.
  2. Add a new place to donate.
  3. Select the place to donate.
  4. Upload photos for donation.
  5. Select a type of food.
  6. Select tree sources.
  7. Type a comment.
  8. Select a date of donation.
  9. Type amount of donation.
  10. Post the donate.

Fix tree name update bug & Add location marker

09 Jun 14:25
Compare
Choose a tag to compare
  1. There was a bug the name of tree not updated on the tree info panel when the marker is selected (Fixed).
  2. Put the current location search back on.
  3. When user search address using top search box, it moves the black circle marker from user's current location to searched area.

Support es6-promise for lower version of iOS

08 Jun 21:40
Compare
Choose a tag to compare
  1. iOS versions lower than 8 doesn't support newest callback feature called "Promise". Thus I added https://github.com/stefanpenner/es6-promise to support promise non-support browsers.
  2. Spinner bug fixed.