1. 08 Mar, 2018 1 commit
  2. 05 Mar, 2018 3 commits
    • Jeffrey Schiller's avatar
      Add “Shared Backpack” · c212e344
      Jeffrey Schiller authored
      A shared backpack is enabled at SSO login time[1] by providing a
      backPackId parameter in the SSO Token. Once enabled backpack contents
      are not stored with the user account but instead in a specific location
      defined by the backPackId. Multiple users can use the same shared
      backpack at the same time. Each time the shared backpack is opened a
      fresh copy is loaded from the server.
      
      There is still a race condition if two users attempt to store blocks at
      the same time. One will win and the other’s changes will not be added to
      the backpack. This may be corrected or mitigated in a future release.
      
      [1] Note: SSO Login is not currently implemented in the App Engine
      version of MIT App Inventor. This commit updates the Backpack code to be
      in alignment with the code we use in our Hong Kong deployment which is
      not run in App Engine. We plan to implement SSO login in the App Engine
      version in the near future.
      
      Change-Id: I5957a42999ff14d7263a47993efaf8f3492c016g
      c212e344
    • Jeffrey I. Schiller's avatar
      Update whitelist.py and /remote_api · e3a504dc
      Jeffrey I. Schiller authored
      Update whitelist.py so it works with the latest App Engine SDK. Also
      update permissions on /remote_api to be compatible with the latest App
      Engine SDK. Note: The change appears to remove the requirement for admin
      rights to use the /remote_api facility. However this admin requirement
      is now enforced by the Google supplied code which runs behind
      /remote_api. Performing the additional check in web.xml just causes an
      error about too many authentication attempts.
      
      Also remove excess catch statement in Whitelist.java that has been
      giving us compilation warnings for a very long time. Note:
      Whitelist.java is no longer in use, but can be enabled via a simple edit
      to OdeAuthFilter.java, so we are not removing it yet.
      
      Change-Id: I30cbb0eba3fba3f20d8443a94dae837c827f0b20
      e3a504dc
    • ColinTree's avatar
      96349f38
  3. 21 Feb, 2018 1 commit
  4. 19 Feb, 2018 1 commit
    • Pavitra's avatar
      Fix typo · b037d601
      Pavitra authored
      "alignemt" => "alignment"
      b037d601
  5. 08 Feb, 2018 1 commit
  6. 23 Jan, 2018 1 commit
    • Evan W. Patton's avatar
      Defer loading of screens until after Screen1 loads · 7e4e6e00
      Evan W. Patton authored
      When importing a project that requires an upgrade involving project
      settings, if any screen loaded before Screen1 would fail to
      upgrade. Attempting to build a project in this state would only
      generate YAIL files for the successfully loaded screens. The build
      server would attempt to generate YAIL for the missing screens using
      the AI1 YAIL generator, which no longer exists. The error message
      doesn't give any indication that this is the problem.
      
      This change defers loading of screens other than Screen1 until
      Screen1's form is loaded. At this point the upgrade of the Form and
      the project settings will have occurred, and then we can proceed to
      load the additional screens.
      
      Change-Id: Ibde055171a8939a9e9ae5ed8ea5ce3954fb5ccf1
      7e4e6e00
  7. 19 Jan, 2018 3 commits
    • Jeffrey I. Schiller's avatar
      Merge branch 'ucr' · 0166242c
      Jeffrey I. Schiller authored
      0166242c
    • Evan W. Patton's avatar
      Fix dialog themes in compiled apps · ae675d46
      Evan W. Patton authored
      DatePicker, TimePicker, and Notifier create dialogs that do not have
      the appropriate color. This commit adds behavior to the compiler to
      output styling information for dialogs so that these components
      properly reflect the user's chosen AccentColor.
      
      Change-Id: I770dcdff555b9f40a28c75e435e938e6258ab3c5
      ae675d46
    • Evan W. Patton's avatar
      Fix issues with marker size breaking project load · ec3671af
      Evan W. Patton authored
      Projects using relatively sized markers are unable to load correctly
      because the width/height is set before the MockMap is ready. This
      change introduces a needsUpdate flag that is set when this occurs. The
      size is then updated when addToMap is called once the map has been
      set. This also fixes a minor bug where markers with image assets do
      not end up being the correct size in the designer after toggling
      visibility.
      
      Fixes #1136 and fixes #1137
      
      Change-Id: Ic800b19241b9bcf33cd07db17308b7c61d13b81e
      ec3671af
  8. 18 Jan, 2018 1 commit
  9. 17 Jan, 2018 1 commit
  10. 12 Jan, 2018 1 commit
  11. 11 Jan, 2018 1 commit
    • User's avatar
      Update Form.java · fe79635e
      User authored
      Fixed #1120
      
      Change-Id: Idd679d701cfad71580cbd841a093dd35b558fc5f
      fe79635e
  12. 08 Jan, 2018 7 commits
  13. 05 Jan, 2018 1 commit
  14. 04 Jan, 2018 6 commits
  15. 03 Jan, 2018 1 commit
  16. 28 Dec, 2017 3 commits
  17. 27 Dec, 2017 1 commit
  18. 23 Dec, 2017 4 commits
  19. 22 Dec, 2017 1 commit
    • Evan W. Patton's avatar
      Add Map and related components · 95be2f24
      Evan W. Patton authored
      This commit adds support for Maps using OpenStreetMaps and USGS tile
      layers. It also adds a number of components related to Maps:
      
      1. Marker: Custom markers to represent points on a map.
      2. LineString: Line segments drawn on the map.
      3. Polygon: Polygons to draw 2D areas on the map.
      4. Circle: Draw a circle at a point with a given radius.
      5. Rectangle: Polygons, but fixed corners/sides.
      6. FeatureCollection: Collections of the above loaded
         from a GeoJSON file.
      
      Change-Id: Ib2d7155094f2557e102de118d5c629abb9675086
      95be2f24
  20. 21 Dec, 2017 1 commit
    • Jeffrey I. Schiller's avatar
      The CloudDB Component · 3cfbee8f
      Jeffrey I. Schiller authored
      CloudDB is similar to the FirebaseDB component but does not require a
      proprietary back-end database. Instead the back-end is based on the open
      source Redis system which is a well used and scale-able data storage
      solution.
      
      With CloudDB you can store arbitrary data, including binary image data,
      based on a “tag” which is a string. The “tag” is combined with
      ProjectID (which defaults to the name of the current project, but can be
      changed) so that multiple projects can use the same tags without
      interfering with each other.
      
      The domain name system name of the Redis server should be configured the
      “RedisServer” property. This defaults to “DEFAULT” which is a server
      provided default (more on that below). The “Token” property should be
      the password required for the Redis Server. An “out of the box” Redis
      server does not implement SSL, so the UseSSL property should be
      unchecked.
      
      In the DEFAULT setup, the server name is set to DEFAULT, UseSSL is
      checked and the Token is automatically generated when you load a
      project. In the DEFAULT case, a special modified Redis server is used
      which implements multi-user features which provide isolation between
      different MIT App Inventor programmers. It also uses SSL to protect
      on-line communications from interception.
      
      Author: Natalie Lao <natalie@csail.mit.edu>
      Author: Jeffrey I. Schiller <jis@mit.edu>
      Author: Joy Mitra <joymitro1989@gmail.com>
      
      Change-Id: Ic7d7aa0f7337a5452d9c138920813deb797fac20
      3cfbee8f