Skip to content
Permalink
Branch: master
Commits on May 21, 2019
  1. update manifests to v1.0.0-beta.2

    shahidhk committed May 21, 2019
Commits on May 16, 2019
  1. update manifests to v1.0.0-beta.1

    shahidhk committed May 16, 2019
  2. serve console assets without any authorization checks (#2201)

    shahidhk authored and 0x777 committed May 16, 2019
  3. update manifests to v1.0.0-beta.01

    shahidhk committed May 16, 2019
  4. bundle console assets into server (close #516, close #521, close #2130)…

    shahidhk committed May 16, 2019
    … (#2192)
    
    This PR builds console static assets into the server docker image at `/srv/console-assets`. When env var `HASURA_GRAPHQL_CONSOLE_ASSETS_DIR=/srv/console-assets` or flag `--console-assets-dir=/srv/console-assets` is set on the server, the files in this directory are served at `/console/assets/*`.
    
    The console html template will have a variable called `cdnAssets: false` when this flag is set and it loads assets from server itself instead of CDN.
    
    The assets are moved to a new bucket with a new naming scheme:
    
    ```
    graphql-engine-cdn.hasura.io/console/assets/
       /common/{}
       /versioned/<version/{}
       /channel/<channel>/<version>/{}
    ```
    
    Console served by CLI will still load assets from CDN - will fix that in the next release.
Commits on May 6, 2019
  1. update manifests to v1.0.0-alpha45

    shahidhk committed May 6, 2019
Commits on Apr 30, 2019
  1. add an api to dump postgres schema (close #1939) (#1967)

    shahidhk authored and 0x777 committed Apr 30, 2019
Commits on Apr 26, 2019
  1. update brand assets (#2062)

    shahidhk committed Apr 26, 2019
Commits on Apr 18, 2019
  1. update manifests to v1.0.0-alpha44

    shahidhk committed Apr 18, 2019
Commits on Apr 17, 2019
  1. update manifests to v1.0.0-alpha43

    shahidhk committed Apr 17, 2019
Commits on Apr 11, 2019
  1. read version from env var during server build time (close #1398) (#1897)

    shahidhk authored and 0x777 committed Apr 11, 2019
    * read version from env var at build time (close #1398)
    
    * remove un-used imports, edit makefile
    
    * edit makefile to add new targets and export variables
    
    * only export VERSION in makefile
    
    * read version by executing the script if env var is absent
Commits on Apr 9, 2019
  1. edit-pg-dump: fix a missing semi-colon

    shahidhk committed Apr 9, 2019
Commits on Apr 8, 2019
  1. update manifests to v1.0.0-alpha42

    shahidhk committed Apr 8, 2019
Commits on Mar 28, 2019
  1. update migration, api-reference docs (close #766) (close #1345) (close

    shahidhk authored and rikinsk committed Mar 28, 2019
Commits on Mar 27, 2019
  1. npm security fixes

    shahidhk committed Mar 27, 2019
  2. add script and now.sh function to edit pg_dump output (close #1861) (#…

    shahidhk committed Mar 27, 2019
    …1884)
    
    <!-- Thank you for submitting this PR! :) -->
    <!-- Provide a general summary of your changes in the Title above ^, end with (close #<issue-no>) or (fix #<issue-no>) -->
    
    ### Description
    <!-- The title might not be enough to convey how this change affects the user. -->
    <!-- Describe the changes from a user's perspective -->
    This PR adds a bash script and a serverless function to clean up the output of `pg_dump` so that it can be used as a migration file for Hasura. This can be later integrated with the CLI so that the cleanup is handled by CLI.
    
    ### Affected components 
    <!-- Remove non-affected components from the list -->
    
    - Scripts
    
    ### Related Issues
    <!-- Please make sure you have an issue associated with this Pull Request -->
    <!-- And then add `(close #<issue-no>)` to the pull request title -->
    <!-- Add the issue number below (e.g. #234) -->
    #1861 
    ### Solution and Design
    <!-- How is this issue solved/fixed? What is the design? -->
    <!-- It's better if we elaborate -->
    - A serverless function written in Go gets the SQL content though HTTP POST.
    - A set of pre-defined lines are removed from this SQL string.
    - SQL comments are removed using regex matching.
    - Postgres triggers created by Hasura for use with event triggers are removed with regex matching.
    - Empty newlines are removed by regex matching.
    - Resulting string is returned in the HTTP response.
    ### Steps to test and verify
    <!-- If this is a feature, what are the steps to try them out? -->
    <!-- If this is a bug-fix, how do we verify the fix? -->
    ```bash
    curl --data-binary @filename.sql https://hasura-edit-pg-dump.now.sh > newfile.sql
    ```
    
    ### Limitations, known bugs & workarounds
    <!-- Limitations of the PR, known bugs and suggested workarounds -->
    NA
    <!-- Feel free to delete these comment lines -->
Commits on Mar 26, 2019
  1. update manifests to v1.0.0-alpha41

    shahidhk committed Mar 26, 2019
Commits on Mar 25, 2019
  1. add spatial predicates for geography columns (close #1674) (#1735)

    shahidhk committed Mar 25, 2019
    This PR adds support for PostGIS spatial predicates on geography columns. The predicates are _st_d_within and _st_intersects.
  2. Revert "reduce server build time on ci (#1836)"

    shahidhk committed Mar 25, 2019
    This reverts commit cbd6bb1.
Commits on Mar 19, 2019
Commits on Mar 15, 2019
  1. npm audit fix for packages in community folder (#1785)

    shahidhk committed Mar 15, 2019
Commits on Mar 12, 2019
  1. update manifests to v1.0.0-alpha40

    shahidhk committed Mar 12, 2019
Commits on Mar 8, 2019
  1. change console code-owner to rikinsk

    shahidhk committed Mar 8, 2019
Commits on Mar 7, 2019
  1. skip ciignore check for release branches

    shahidhk committed Mar 7, 2019
  2. support ciignore for master builds too (#1708)

    shahidhk committed Mar 7, 2019
  3. update digitalocean guide to include marketplace (#1706)

    shahidhk authored and rikinsk committed Mar 7, 2019
  4. adds a check to see if the jobs should be run or not (close #1161) (#…

    shahidhk committed Mar 7, 2019
    …1705)
    
    CircleCI jobs are run for any PR that is submitted to the repo. This PR adds a check to decide whether the job should be run or not.
    
    Figured out that CircleCI has a way to gracefully terminate a job:
    ```
    circleci-agent step halt
    ```
    
    A `.ciignore` file is ran against all the changes in the PR to decide whether the PR should be built or not. If the answer comes out as `no`, a file is written at `/buid/skip_job.txt`. This is done in the `check_build_worthiness` step.
    
    All further jobs, in the beginning, looks for this file and gracefully terminates the job if this file is present. The directory is passed down to the jobs as the workspace.
    
    ```yaml
      skip_job_on_ciignore: &skip_job_on_ciignore
        run: |
          if [ -f /build/skip_job.txt ]; then
            echo "halting job due to /build/skip_job.txt"
            circleci-agent step halt
          fi
    ```
    
    ref: https://support.circleci.com/hc/en-us/articles/360015562253-Conditionally-end-a-running-job-gracefully
    
    There are some known issues on jobs that are run when PR is merged to master, need to address them after this PR is merged.
Commits on Mar 4, 2019
  1. update manifests to v1.0.0-alpha39

    shahidhk committed Mar 4, 2019
Commits on Feb 28, 2019
  1. revert "forward response headers from remote servers (#1664)"

    shahidhk committed Feb 28, 2019
    This reverts commit c19fe35.
Commits on Feb 27, 2019
  1. test server upgrade from last release (close #570) (#1667)

    shahidhk committed Feb 27, 2019
  2. update pull request template (#1672)

    shahidhk committed Feb 27, 2019
Commits on Feb 20, 2019
  1. add google cloud gke cloud sql deployment guide to docs (close #1386) (

    shahidhk authored and rikinsk committed Feb 20, 2019
Commits on Feb 14, 2019
  1. update manifests to v1.0.0-alpha38

    shahidhk committed Feb 14, 2019
Commits on Feb 6, 2019
  1. Create CODEOWNERS file (#1565)

    shahidhk committed Feb 6, 2019
    This will automatically request reviews from owners https://help.github.com/articles/about-code-owners/
Older
You can’t perform that action at this time.