Commit Graph

11293 Commits

Author SHA1 Message Date
Satbir Singh
bb9fc29409 Page Params 2020-04-01 08:09:57 +00:00
Arpit Mohan
4927e7b8d8 Adding a custom SecurityContextFactory to instantiate Mock anonymous user in the test cases.
Now we have a lot of flexibility around the SecurityContext during testing. We can instantiate any type of mock users bearing different roles & permissions.
2020-04-01 10:20:04 +05:30
Arpit Mohan
995bfd0bbd * Adding CustomRepository interfaces and implementations to all the domain objects in the classpath
* Adding generic get(Multivalue<String, String> params) implementation to the BaseService. Now all the domain obejcts can simply leverage this base implementation for get queries out of the box for all the fields.

* IMP: For some reason, the query by example has stopped working across the board. Even the super implementation in SimpleReactiveMongoRepository doesn't work. No idea why this is happening. For the time being, have moved to Criteria queries for the get request.
2020-04-01 10:00:18 +05:30
Satbir Singh
3a8b37c923 Merge branch 'fix/ms' into 'release'
Fixing default value updating the multi select.

See merge request theappsmith/internal-tools-client!435
2020-03-31 17:36:25 +00:00
Satbir Singh
bbe98ca135 Fixing default value updating the multi select. 2020-03-31 17:36:25 +00:00
Satbir Singh
e4532e152f Merge branch 'fix/property-pane-evaluated-props' into 'release'
Not passing evaluated data to property pane

See merge request theappsmith/internal-tools-client!436
2020-03-31 17:04:44 +00:00
Satbir Singh
80c449e227 Not passing evaluated data to property pane 2020-03-31 22:11:07 +05:30
Nikhil Nandagopal
c38f1bbc83 Merge branch 'fix/charts' into 'release'
disabled water mark fusion charts

See merge request theappsmith/internal-tools-client!424
2020-03-31 15:24:29 +00:00
Nikhil Nandagopal
032cb3beb6 Merge branch 'release' into fix/charts 2020-03-31 17:19:10 +05:30
Satbir Singh
f472cfb835 Merge branch 'fix/url-valid' into 'release'
Nav to Url validation fixed

See merge request theappsmith/internal-tools-client!419
2020-03-31 10:40:53 +00:00
Satbir Singh
70243829d5 Nav to Url validation fixed 2020-03-31 10:40:52 +00:00
Hetu Nandu
60a9343ef0 Merge branch 'fix/form-buttons' into 'release'
Fix form button issues

See merge request theappsmith/internal-tools-client!434
2020-03-31 08:05:09 +00:00
Hetu Nandu
59dde1e024 fix form 2020-03-31 13:12:25 +05:30
Satbir Singh
1adcf0b0dc Merge branch 'fix/multi-select' into 'release'
Default option value multi select

See merge request theappsmith/internal-tools-client!431
2020-03-31 03:21:35 +00:00
Satbir Singh
1a71c8f317 Default option value multi select 2020-03-31 03:21:35 +00:00
Abhinav Jha
487bbb0d84 Merge branch 'fix/add-test-classnames' into 'release'
Add classnames

See merge request theappsmith/internal-tools-client!432
2020-03-30 14:21:21 +00:00
Abhinav Jha
5272505673 Add classnames 2020-03-30 14:21:21 +00:00
Trisha Anand
b92557c480 Merge branch 'bug/handle-newline-mustache-replacement' into 'release'
Json serialisation fix : Double escape java to conserve \n

See merge request theappsmith/internal-tools-server!246
2020-03-30 09:45:39 +00:00
Trisha Anand
e4ab1635cc Double escaping java to support "\n" to be conserved through the proxy. 2020-03-30 15:11:25 +05:30
Satbir Singh
e99f9c1ca7 Merge branch 'fix/button-safari' into 'release'
Safari button fix

See merge request theappsmith/internal-tools-client!428
2020-03-30 08:55:52 +00:00
Satbir Singh
26b51f2f04 Safari button fix 2020-03-30 08:55:52 +00:00
Satbir Singh
fbec031a4a Merge branch 'feature/persist-col' into 'release'
Persist hidden column

See merge request theappsmith/internal-tools-client!411
2020-03-30 08:16:43 +00:00
Satbir Singh
4d928292e4 Persist hidden column 2020-03-30 08:16:43 +00:00
Hetu Nandu
a2b5e71a1d Merge branch 'feature/add-view-pagenav-classes' into 'release'
Add class name on Page Navs for testing

See merge request theappsmith/internal-tools-client!429
2020-03-30 07:43:34 +00:00
Hetu Nandu
cb385b68b0 Add class name on Page Navs for testing 2020-03-30 07:43:34 +00:00
Arpit Mohan
9f9098268b Fixing the user service test cases 2020-03-29 17:06:20 +05:30
Arpit Mohan
036bd3a392 Fixing the test cases and SeedMongoData
Only userServiceTest is failing now.
2020-03-28 23:07:31 +05:30
Arpit Mohan
381f2f6b4f Resolving merge conflicts from release branch 2020-03-28 21:52:35 +05:30
Arpit Mohan
189ef1d16c Merge branch 'hotfix/json-serialization' into 'release'
JSON serialization fix for dynamic binding

In the action execution, we now escape all the parameter values received in the dynamic binding. This is because Java unescapes values when it receives the HTTP request. Hence, ActionServiceImpl.execute() will escape the bindings again to ensure that the request to the backend API system still works.

See merge request theappsmith/internal-tools-server!245
2020-03-28 13:48:41 +00:00
Arpit Mohan
9ce82bdcb6 Fixing json serialization issue for new line and JSON bodies.
Now we escape all the bindings once on the server to ensure that the unescaping that Spring did is reversed.
2020-03-28 13:48:41 +00:00
Arpit Mohan
f1eb890c62 Merge branch 'bug/mongobee-indexes' into 'release'
Fix fields orders in compound indexes and duplicate slugs.

In the migration for creating slugs for existing organizations, we need to set unique slugs using the same logic as would be used when the organizations are created in the first place. For this, this MR updates the `addOrgSlugs` migration accordingly.

In the migration for **ensuring** (not necessarily **creating**) initial indexes, this MR changes the order of the fields in a couple of compound indexes. Unfortunately, if an compound index named `abc` exists with the field order `"f1", "f2"` and we try to **ensure** an index named `abc` with the field order `"f2", "f1"`, the ensuring fails with obscure errors. Although some resources online suggest that the field order in index does not matter, here, it does.

See merge request theappsmith/internal-tools-server!244
2020-03-28 11:15:50 +00:00
Shrikant Kandula
35a2722305 Fix add-slug migration messing up existing slugs, if any.
Migrations should be more resilient in regards to existing data.
2020-03-28 11:15:50 +00:00
Arpit Mohan
e6830ed6a4 Merge branch 'bug/mongobee-indexes' into 'release'
Use mongock for migrations.

Mongock is a fork of Mongobee with a better integration with
Spring. It also does not suffer from trying to access the
`system.indexes` collection.
See https://github.com/mongobee/mongobee/pull/87.

See merge request theappsmith/internal-tools-server!243
2020-03-28 05:19:56 +00:00
Shrikant Kandula
31fa5a66f1 Use mongock for migrations.
Mongock is a fork of Mongobee with a better integration with
Spring. It also does not suffer from trying to access the
`system.indexes` collection.
See https://github.com/mongobee/mongobee/pull/87.
2020-03-28 10:08:11 +05:30
Shrikant Kandula
bfa0453a27 Merge branch 'feature/mongodb-migrations' into 'release'
MongoDB Migrations and Organization Slug

See merge request theappsmith/internal-tools-server!241
2020-03-27 14:52:25 +00:00
Shrikant Kandula
0947ddcd0f Remove findByName method for Organization domain.
Organization names are no longer unique, so this method
doesn't make as much sense. The `findBySlug` should serve
in it's place.
2020-03-27 14:52:25 +00:00
Hetu Nandu
38c731723b Merge branch 'feature/logLevelFlag' into 'release'
LogLevel flag

See merge request theappsmith/internal-tools-client!422
2020-03-27 12:46:29 +00:00
Hetu Nandu
3b3cab3a5f LogLevel flag 2020-03-27 12:46:29 +00:00
Abhinav Jha
454b32aa3c Merge branch 'fix/update-default-widget-rows' into 'release'
Update default widget columns

See merge request theappsmith/internal-tools-client!427
2020-03-27 12:30:52 +00:00
Abhinav Jha
1cc7d58c73 Update default widget rows 2020-03-27 17:36:30 +05:30
Abhinav Jha
91546b198d Merge branch 'fix/modal-config-scroll' into 'release'
Fix Modal scroll behaviour.

Modal now can be set to scroll contents by the user using the property config.
Earlier it was always scrolling.

See merge request theappsmith/internal-tools-client!426
2020-03-27 10:56:26 +00:00
Abhinav Jha
f829e8f79a Fix Modal scroll behaviour. 2020-03-27 10:56:26 +00:00
Satbir Singh
96f3e6c5a7 Merge branch 'fix/tooltip-overlap' into 'release'
Fixing tooltip overlap with dynamic input hint

See merge request theappsmith/internal-tools-client!418
2020-03-27 10:37:29 +00:00
Satbir Singh
4631b61adb Fixing tooltip overlap with dynamic input hint 2020-03-27 10:37:29 +00:00
Abhinav Jha
7a32b313a1 Merge branch 'feature/modal-widget' into 'release'
Modal Widget

See merge request theappsmith/internal-tools-client!361
2020-03-27 09:02:11 +00:00
Abhinav Jha
a0872b97f2 Generate widgets from blueprint. Close previously open modals when showing a modal. Fix unicode page name issue in pagelist sidebar 2020-03-27 09:02:11 +00:00
Nikhil Nandagopal
dca0a1d3db disabled water mark fusion charts 2020-03-27 12:44:09 +05:30
Arpit Mohan
a46efda121 Merge branch 'bug/refactor-widget-name' into 'release'
Refactor of names shouldn't be allowed if there is no DSL present in the layout

See merge request theappsmith/internal-tools-server!242
2020-03-25 12:54:23 +00:00
Trisha Anand
89215fab43 In case of the erroneous state of no DSL, don't allow refactor names. 2020-03-25 18:19:27 +05:30
Trisha Anand
acb7437c6b Merge branch 'bug/add-to-page-transient-fields' into 'release'
Transient fields being set before returning the created action in case of rapid api template

After adding a rapid api template, the action created was being returned. This has been extended so that the transient fields required for UI are also set before returning the created action.

See merge request theappsmith/internal-tools-server!240
2020-03-24 19:15:02 +00:00