Commit Graph

18100 Commits

Author SHA1 Message Date
Vicky Bansal
849fdd61f4 pick my location icon changed with state 2020-05-20 11:57:02 +00:00
Hetu Nandu
92b306039a Merge branch 'feature/tern-autocomplete' into 'release'
Tern autocomplete

See merge request theappsmith/internal-tools-client!584
2020-05-20 11:30:53 +00:00
Hetu Nandu
010b48d7fa Tern autocomplete 2020-05-20 11:30:53 +00:00
Arpit Mohan
0ee1699603 Merge branch 'bug/datasources-name-clashes' into 'release'
Use sequences for numbering new datasources.

Introduces a new collection in the database, `sequence`. We intend store one document per domain collection (hence a unique index on `name` field), which has a sequence number. The number is *always* set to a value that can be used next and never been used before (hence the human-readable-name `nextNumber`). Of course, this holds true only if the collection is accessed through `SequenceService.getNext(DomainClass.class)`.

This MR also includes two migrations. One for adding a unique index on `sequence.name`. Another for setting an initial value for the `nextNumber` for datasources, such that the next new datasource has a unique name. We are computing this value based off of the existing datasources named `Untitled Datasource <number>`, finding the highest number in the names and incrementing it.

See merge request theappsmith/internal-tools-server!351
2020-05-20 11:21:32 +00:00
Shrikant Kandula
7037d99cfa Use sequences for numbering new datasources. 2020-05-20 11:21:32 +00:00
Rashmi P
50515a8ef5 Merge branch 'add/Create-Delete-test' into 'release'
Added Create Delete App test

See merge request theappsmith/internal-tools-client!611
2020-05-20 11:04:40 +00:00
Rashmi P
345fcdea21 Added Create Delete App test 2020-05-20 11:04:39 +00:00
Arpit Mohan
82725cd7b7 Merge branch 'release' into 'master'
Release to master

See merge request theappsmith/internal-tools-client!614
2020-05-20 10:41:17 +00:00
Arpit Mohan
c653bdb043 Merge branch 'AddTestcases/Binding' into 'release'
TestCase Issue fix

Fixing the issue where the code mirror textArea wasn't getting cleared. 

Also adding more test cases to bind table selected row values to other UI widgets.

See merge request theappsmith/internal-tools-client!615
2020-05-20 10:07:53 +00:00
Aditya Acharya
4adad3aecc Fixing the issue where the code mirror textArea wasn't getting cleared.
Also adding more test cases to bind table selected row values to other UI widgets.
2020-05-20 10:07:53 +00:00
vicky_primathon.in
acd18bafd5 widget properties added for selection in lightning menu 2020-05-20 14:47:51 +05:30
vicky_primathon.in
c7d06d8218 options added to lighning menu 2020-05-20 10:26:46 +05:30
vicky_primathon.in
71674119e3 dropdown style fixes 2020-05-20 09:45:19 +05:30
vicky_primathon.in
c6a883d965 light and dark theme added in dropdown component 2020-05-19 22:54:38 +05:30
Trisha Anand
8caf66d68a Merge branch 'feature/acl-new-create-application' into 'feature/acl-spring-object'
create application now expects organization id.

See merge request theappsmith/internal-tools-server!347
2020-05-19 17:09:51 +00:00
Trisha Anand
e95b680169 create application now expects organization id. Fixed the test cases which broke because of this basic change in the way applications are created. 2020-05-19 17:09:51 +00:00
Shrikant Kandula
b13a7a5df3 Fix incorrect call to updatedAt. 2020-05-19 19:25:32 +05:30
Arpit Mohan
eae29e5cba Merge branch 'bug/datasource-without-updated-at' into 'release'
Fix NPE when using datasources without updatedAt.

Notion ref: <https://www.notion.so/appsmith/NPE-in-DatasourceContextServiceImpl-be9b92a0d71848aea89dd695cd784034>.

See merge request theappsmith/internal-tools-server!348
2020-05-19 13:48:58 +00:00
Shrikant Kandula
329587f5ff Fix NPE when using datasources without updatedAt. 2020-05-19 13:48:58 +00:00
vicky_primathon.in
77a94695f0 textarea ref as input 2020-05-19 16:57:42 +05:30
Satbir Singh
bdb8c6a9a5 Fixed multiple onSuccess in action selector 2020-05-19 15:39:15 +05:30
Satbir Singh
af7bf9b70a Merge branch 'fix/api-js' into 'release'
Fixed create new api js from action selector.

See merge request theappsmith/internal-tools-client!610
2020-05-19 09:25:41 +00:00
Satbir Singh
5d3c6a642c Fixing create new api from action selector. 2020-05-19 14:28:22 +05:30
Arpit Mohan
57e4112780 Merge branch 'fix/datasourceBugs' into 'release'
Datasource bug fixes

See merge request theappsmith/internal-tools-client!586
2020-05-19 07:03:11 +00:00
Akash N
b00e1fd5e5 Datasource bug fixes
- Fix search in datasource sidebar
- Minimum of 1 row in KEY_VAL_ARRAY and KEY_VAL_INPUT fields
- Fix collapse icon
- Datasource form title improvements
2020-05-19 07:03:11 +00:00
vicky_primathon.in
eb0b4b918d passing ref to dynamic auto complete 2020-05-19 12:23:37 +05:30
Aditya Acharya
6c8ced943d Merge branch 'feature/Logout' into 'release'
Feature/logout

See merge request theappsmith/internal-tools-client!605
2020-05-19 06:13:15 +00:00
Aditya Acharya
16e4262123 Feature/logout 2020-05-19 06:13:15 +00:00
Arpit Mohan
7e173fc2a7 Merge branch 'feature/datasourcesDraft' into 'release'
Feature/datasources draft

Add drafts for the datasource pane.

See merge request theappsmith/internal-tools-client!600
2020-05-19 06:10:59 +00:00
Akash N
2630eaa4ca Feature/datasources draft 2020-05-19 06:10:59 +00:00
Arpit Mohan
2c0a09a93a Merge branch 'release' into 'master'
Release

See merge request theappsmith/internal-tools-client!606
2020-05-19 06:09:23 +00:00
Arpit Mohan
ac7e6cc8ee Ensuring the Nginx configurations work for yarn tests and for local development as well
Had to remove the upstream configuration as that was causing Nginx not to be able to perform SSL handshake with Heroku environment.
2020-05-19 10:36:41 +05:30
Arpit Mohan
14c1778645 Merge branch 'bug/curl-auto-add-protocol' into 'release'
Automatically add protocol to URL provided to cURL command.

Notion ref: <https://www.notion.so/appsmith/CURL-import-for-incomplete-but-valid-URLs-like-www-google-com-leads-to-the-URL-not-getting-read-Th-9191456cb1b24cd68b92072c1a6f3ab6>.

See merge request theappsmith/internal-tools-server!343
2020-05-19 04:23:59 +00:00
Shrikant Kandula
db0532941d Automatically add protocol to URL provided to cURL command. 2020-05-19 04:23:58 +00:00
Arpit Mohan
63414f98d5 Adding custom headers to redirect rules in netlify.toml.
This is required for the backend servers to process the OAuth2 login properly
2020-05-19 09:44:19 +05:30
Arpit Mohan
bacf594620 Adding proxy x-forwarded-* headers to all the forwarded requests in Nginx
Also adding an upstream block to make it easier to switch from release -> local environments.
2020-05-19 09:40:01 +05:30
Arpit Mohan
85ea6563db Merge branch 'hotfix/server-use-forward-headers' into 'release'
Adding the ForwardedHeaderTransform bean to enable spring to parse...

Adding the ForwardedHeaderTransform bean to enable spring to parse X-Forwarded-* headers from Nginx proxy

See merge request theappsmith/internal-tools-server!344
2020-05-19 03:56:40 +00:00
Arpit Mohan
158f5c8203 Adding the ForwardedHeaderTransform bean to enable spring to parse X-Forwarded-* headers from Nginx proxy 2020-05-19 09:22:33 +05:30
Arpit Mohan
a49e8269aa Reversing the proxy changes to netlify.toml and nginx config files
This is not working in Heroku environment.

Note to self: Debug on local properly before pushing.
2020-05-18 19:22:16 +05:30
Shrikant Kandula
bffd68b1a9 Merge branch 'bug/postgres-empty-result' into 'release'
Don't fail after executing a non-SELECT query on Postgres.

See merge request theappsmith/internal-tools-server!341
2020-05-18 13:42:24 +00:00
Arpit Mohan
c3734235a5 Correcting the APP_HOST to hostname instead of URL 2020-05-18 17:55:24 +05:30
Arpit Mohan
48f1a66bcb Adding the Host header to the netlify.toml file for each environment.
This ensures that when we proxy the request to the backend API, the API is able to redirect properly for Google & Github OAuth2 providers.
2020-05-18 17:45:23 +05:30
Shrikant Kandula
54febe1779 Merge branch 'feat/onload-actions' into 'release'
Added a boolean field to Actions to explicitly mark them for execution on page-load.

See merge request theappsmith/internal-tools-server!332
2020-05-18 12:13:54 +00:00
Shrikant Kandula
c4d3d535a1 Rename isExecuteOnLoad to executeOnLoad.
The `is` prefix apparently makes Spring unhappy.
2020-05-18 12:13:54 +00:00
Nikhil Nandagopal
b32ef1b62f minor tweaks 2020-05-18 16:35:57 +05:30
Arpit Mohan
19d2039277 Merge branch 'release' into 'master'
Release

See merge request theappsmith/internal-tools-client!603
2020-05-18 08:45:54 +00:00
Abhinav Jha
0fec4b765d Add onSelect prop to lightning menu 2020-05-18 14:07:58 +05:30
Hetu Nandu
e258e2cd00 add new pane feature flags in prod config 2020-05-18 13:47:19 +05:30
Abhinav Jha
f529de8d1e Add lightning menu items 2020-05-18 12:17:45 +05:30
Rashmi P
f15fc7dfda Merge branch 'add/Smoke-test-cases' into 'release'
Added Table with Api Bind test case

See merge request theappsmith/internal-tools-client!593
2020-05-18 06:43:16 +00:00