Commit Graph

2554 Commits

Author SHA1 Message Date
mike12345567 7e70eb0f20 Adding info to the table deletion about screens that will be deleted and deleted template screens when table deleted. 2020-10-13 19:37:52 +01:00
Andrew Kingston 650ace2f9e Add flex design property and fix existing default layout 2020-10-13 17:46:18 +01:00
mike12345567 686d85f07e Adding 501 not implemented errors to screen API which did not have a controller previously. 2020-10-13 17:40:28 +01:00
Andrew Kingston bb997eaf26 Merge branch 'master' of github.com:Budibase/budibase into cheeks-bugfixes 2020-10-13 17:27:46 +01:00
mike12345567 3fd5e7e578 Removing deprecated function - exists. 2020-10-13 17:02:59 +01:00
Martin McKeaveney f921f4c090 fix issues from eslint plugin prettier 2020-10-13 16:33:45 +01:00
mike12345567 407d7606e9 Destroying instance DBs for an app before it is deleted. 2020-10-13 16:31:14 +01:00
Martin McKeaveney 34bfef5661 bulk deletes on grid 2020-10-13 16:17:07 +01:00
Martin McKeaveney 04f5e9e9ea optional chaining for backend ui models 2020-10-13 15:40:59 +01:00
Andrew Kingston 9929d12c6f Fix checkbox depth in frontend settings 2020-10-13 14:29:32 +01:00
Martin McKeaveney ff9d178304 Merge branch 'master' of github.com:Budibase/budibase into bugz 2020-10-13 13:07:06 +01:00
Martin McKeaveney 4ea99592d9 v0.2.1 2020-10-13 13:01:13 +01:00
Martin McKeaveney d5a053304f Merge branch 'master' of github.com:Budibase/budibase into bugz 2020-10-13 12:52:55 +01:00
Michael Drury d637ebbdb4
Merge pull request #687 from Budibase/endpoint-renaming
Major update - renaming model to table and record to row
2020-10-13 12:17:54 +01:00
mike12345567 116637d06a Updating yarn lock for server and fixing test case. 2020-10-13 11:50:19 +01:00
Andrew Kingston 51c407c2f9 Update all old references in datasources from isModel to type=model 2020-10-13 11:27:18 +01:00
Andrew Kingston a25ca533e3 Merge branch 'master' of github.com:Budibase/budibase into cheeks-bugfixes 2020-10-13 11:24:47 +01:00
mike12345567 31b744e2d5 Updating test cases. 2020-10-13 11:19:34 +01:00
Martin McKeaveney 9775797951 removing z-index from checkbox 2020-10-13 11:18:34 +01:00
kevmodrome 50d2f45446
fixes height issue with grid component 2020-10-13 12:15:44 +02:00
Andrew Kingston d22f6f911f Fix crashing when rendering any components settings that uses a ScreenSelect 2020-10-13 11:11:59 +01:00
Martin McKeaveney 6fe15f9bef Merge branch 'master' of github.com:Budibase/budibase into bugz 2020-10-13 10:59:31 +01:00
Martin McKeaveney 78aae99e39 prevent duplicate table names 2020-10-13 10:59:24 +01:00
mike12345567 5354d66366 Fixing problem where something injected [object Object] into the source code? 2020-10-13 10:35:10 +01:00
mike12345567 80b011141d Formatting codebase. 2020-10-13 10:04:29 +01:00
mike12345567 a6264896fa Merge branch 'feat/linked-records-data-source' of github.com:Budibase/budibase into endpoint-renaming 2020-10-13 09:58:31 +01:00
mike12345567 1140f65282 Merge branch 'feat/linked-records-data-source' of github.com:Budibase/budibase into endpoint-renaming 2020-10-13 09:58:08 +01:00
Andrew Kingston d96293638f Remove random text 2020-10-13 09:51:43 +01:00
Andrew Kingston 2641b781f9 Remove console.log statement 2020-10-13 09:47:12 +01:00
Andrew Kingston fc870c0dc9 Add back in sharp reference which was commented out 2020-10-13 09:42:44 +01:00
Andrew Kingston 9acab69a06 Rename datasource prop from table to data for all components 2020-10-13 09:40:07 +01:00
Andrew Kingston d8e349ddaa Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-13 09:24:13 +01:00
Andrew Kingston 95d5836552 Add relationships as possible datasource for grid 2020-10-13 09:22:47 +01:00
Andrew Kingston 1b8b390822 Fix create screen state by navigating to new URL when creating 2020-10-13 09:11:36 +01:00
Andrew Kingston 536074c97f Fix state when deleting frontend screens 2020-10-13 09:07:09 +01:00
Andrew Kingston 06d83c7ad5 Fix state when deleting frontend components 2020-10-13 09:06:56 +01:00
kevmodrome 9ffde6af35
lint fix 2020-10-13 09:54:10 +02:00
kevmodrome 693c8751c1
Merge branch 'master' into feature/grid-functionality-additions 2020-10-13 09:51:20 +02:00
kevmodrome 6ac9c59bbb
adds pagination option 2020-10-13 09:51:01 +02:00
Andrew Kingston 845d909087 Fix ModelSelect styles in frontend settings 2020-10-13 08:26:13 +01:00
Andrew Kingston dcf31c971d Fix crashing when adding a frontend component after deleting one 2020-10-13 08:20:32 +01:00
Martin McKeaveney 4bacae5859
Merge pull request #709 from Budibase/replace-screen-template-datatable
Replace screen template datatable
2020-10-13 08:16:31 +01:00
kevmodrome 4ad2fb47d5
adds height option to grid component 2020-10-13 09:13:56 +02:00
Andrew Kingston 08de0812fc Fix another random builder crash that sometimes happens 2020-10-13 08:12:29 +01:00
Andrew Kingston 72676623b8 Fix grid crash when there are no related rows in a link field 2020-10-13 08:12:03 +01:00
Michael Shanks 1f57c23bda Merge branch 'master' of github.com:Budibase/budibase into master 2020-10-12 21:36:29 +01:00
Andrew Kingston 3ba79b0071 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 21:35:51 +01:00
Michael Shanks 2f5ee277f3 analytics - missing await, causing event not to be logged 2020-10-12 21:35:10 +01:00
mike12345567 f221d35ab8 Updating data grid components which had model/record still defined in them. 2020-10-12 21:31:58 +01:00
Martin McKeaveney bf9efc7102 remove screen1 from dummy data 2020-10-12 21:22:23 +01:00
Martin McKeaveney 69f3064489 replace list template screen with datagrid 2020-10-12 21:21:23 +01:00
Martin McKeaveney d00aef571b convenience scripts for restoring budibase installations 2020-10-12 20:39:29 +01:00
Martin McKeaveney 10cef93195 merge with new grid 2020-10-12 20:25:15 +01:00
kevmodrome 4d140038e7
fix yarn lock file 2020-10-12 20:56:09 +02:00
kevmodrome b5a5ac8970
fix editable header column not hiding when grid is un-editable 2020-10-12 20:44:40 +02:00
kevmodrome f386dba290
add back missing param to validate call on record post route 2020-10-12 20:37:41 +02:00
Andrew Kingston 47e9cd64cb Fix crash when no linked records in DataTable 2020-10-12 18:47:25 +01:00
mike12345567 4e000a8904 Updating formatting. 2020-10-12 17:56:40 +01:00
kevmodrome 1e1662d265
lint fixes 2020-10-12 18:54:18 +02:00
mike12345567 408eda81ff Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 17:45:11 +01:00
kevmodrome 28caf55ac4
Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-12 18:43:22 +02:00
kevmodrome 14dc81e994
sets correct editable values on fields 2020-10-12 18:42:47 +02:00
Michael Drury b6da9a0f83
Merge pull request #706 from Budibase/bug/table-changes-fix
Bug/table changes fix
2020-10-12 17:32:59 +01:00
mike12345567 1955c73685 Handling empty relationship column the same way other columns are handled, it won't do anything until it is valid - but doesn't error. 2020-10-12 17:02:52 +01:00
mike12345567 47b97225a8 Improving consistency of model saving, making sure that any validation which could fail happens before any updates are carried out. 2020-10-12 16:51:41 +01:00
mike12345567 9bf568ecb1 Fixes for deleting records when a table is deleted. 2020-10-12 16:37:08 +01:00
Michael Shanks 381c43f1e3
Merge pull request #703 from mjashanks/fixes
Some Fixes
2020-10-12 16:34:48 +01:00
Andrew Kingston da1936fbbf Update pagination to handle any number of pages 2020-10-12 16:33:38 +01:00
Michael Shanks 1e14da7108 code reivew - unused code 2020-10-12 16:28:37 +01:00
Michael Shanks 8956c7d9c9 fix: Default props were mutated - cause very strange issue with event handlers 2020-10-12 16:27:34 +01:00
Michael Shanks 45e583dc95 unused "options" member in prop types 2020-10-12 16:26:54 +01:00
Michael Shanks a1fb9aea6b Analytics - record screen template used 2020-10-12 15:51:03 +01:00
Michael Shanks f03e314710 fix: view filter displaying incorrect options 2020-10-12 15:32:49 +01:00
mike12345567 94f966631c Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 15:25:27 +01:00
Andrew Kingston 9e3e89eb06 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 15:20:32 +01:00
Andrew Kingston 61bfc12070 Fix style and alignment of various frontend design and settings components 2020-10-12 15:14:34 +01:00
Andrew Kingston 8ff401fd64 Improve style of frontend settings placeholder text 2020-10-12 15:14:11 +01:00
Andrew Kingston 63c14c11d6 Improve style of ModelViewSelect and fix text wrapping 2020-10-12 15:13:38 +01:00
Andrew Kingston 01dedf9e91 Improve frontend settings and design panel scrolling and panel styling 2020-10-12 15:12:48 +01:00
Michael Shanks 651128ea81 Merge branch 'url-detail' into fixes 2020-10-12 15:10:31 +01:00
Michael Shanks 0a1775b999 Merge branch 'master' into fixes 2020-10-12 15:10:21 +01:00
Michael Shanks 079ba1ffce Settings >URL select handles Record detail urls 2020-10-12 14:48:30 +01:00
mike12345567 6362c5ffdc Fixes the link doc ID so that they do not start with automation ID and fixes an error that was occurring when creating tables. 2020-10-12 14:31:17 +01:00
Andrew Kingston ecd14208ff Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 14:21:39 +01:00
Andrew Kingston 3fa4561edb Fix relational data in client apps and use count for link fields in client apps 2020-10-12 14:21:15 +01:00
Andrew Kingston 5450cca9f4 Fix linked record selector rendering in client apps 2020-10-12 14:19:54 +01:00
Andrew Kingston 448b0ca2ae Replace bindings to link fields with new count runtime property 2020-10-12 14:14:50 +01:00
mike12345567 2e49221ebc Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:54:34 +01:00
Martin McKeaveney 95cd3f84fc
Merge pull request #692 from Budibase/external-webhooks
support for external webhooks
2020-10-12 13:53:55 +01:00
Martin McKeaveney cde757e670
Merge pull request #693 from Budibase/design-props---font-family-and-image-background---tidy-up
Typography, background, and transition props fix
2020-10-12 13:53:42 +01:00
mike12345567 53d765b849 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 13:34:32 +01:00
Martin McKeaveney 7f7594895b adding auth object to context rather than separate booleans 2020-10-12 13:32:52 +01:00
Joe 9a289d2d16 Typography, background, and transition props fix
Broken fonts removed
Minor tidy-ups around background props
Fixed transition duration prop
2020-10-12 12:50:59 +01:00
kevmodrome a161288dc9
merge master 2020-10-12 12:58:20 +02:00
Martin McKeaveney dd2a84d58a support for external webhooks 2020-10-12 11:57:37 +01:00
kevmodrome 5691dc5c67
merge master 2020-10-12 12:56:27 +02:00
Andrew Kingston 42019dd546 Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-12 11:26:04 +01:00
Andrew Kingston 0c45804446 Remove buggy transition when displaying frontend blocks 2020-10-12 11:25:56 +01:00
Michael Shanks 3af1d8dc7f
Merge pull request #681 from mjashanks/screen-templates
Screen templates
2020-10-12 11:09:15 +01:00
Andrew Kingston 7ca3a65c54 Fix falsey table values not being rendered 2020-10-12 11:02:03 +01:00
Michael Shanks 3a97e0ffd2 renamed screen template 2020-10-12 10:59:23 +01:00
kevmodrome 727d39a715
bump svelte-ag-grid and and actually apply theme class to element 2020-10-12 11:59:20 +02:00
Andrew Kingston 75998ea746 Remove console log statement 2020-10-12 10:51:57 +01:00
Michael Shanks d62ed0fb48 fix: New & Detail not displaying components when no model selected 2020-10-12 10:51:20 +01:00
Michael Shanks 4007152583 fix: screen settings not updating 2020-10-12 10:50:51 +01:00
Andrew Kingston 644f45e1c1 Remove console log 2020-10-12 10:50:29 +01:00
Michael Shanks 02dcc07f84 review: better naming of screen templates 2020-10-12 10:50:19 +01:00
Andrew Kingston 47a772a200 Fix images and lots of other string escaping not working 2020-10-12 10:49:21 +01:00
Michael Drury f2929bcc7d
Merge pull request #684 from Budibase/link-record-performance
Small change that drastically improves the performance of linked records
2020-10-12 10:47:57 +01:00
kevmodrome 12dda8ee0d
turns off some functionality and adds theme options 2020-10-12 11:44:43 +02:00
mike12345567 2a2dad3ca4 Formatting code - was causing PR to fail. 2020-10-12 10:41:25 +01:00
mike12345567 ba83cad43c Using lodash flatten rather than pure JS. 2020-10-12 10:28:53 +01:00
Michael Shanks 72774e7fe9 code review changes 2020-10-12 09:42:48 +01:00
mike12345567 3f0d205846 Merge branch 'master' of github.com:Budibase/budibase into endpoint-renaming 2020-10-12 09:41:42 +01:00
Michael Shanks 84fcea8a80 fix: no fields required by default 2020-10-11 20:42:30 +01:00
Michael Shanks 3059c605d1 merge from master 2020-10-11 20:34:13 +01:00
Martin McKeaveney 506779f8cd
Merge branch 'master' into deployment-api-usage 2020-10-09 21:43:28 +01:00
Martin McKeaveney 3f81757faa deployment API usage complete 2020-10-09 21:42:20 +01:00
mike12345567 73e0e37c66 Fixing some bugs with JWT creation not getting an API key. 2020-10-09 20:44:35 +01:00
mike12345567 4d3308b216 Merge branch 'link-record-performance' of github.com:Budibase/budibase into endpoint-renaming 2020-10-09 20:18:46 +01:00
mike12345567 ec6717468b Major performance boost to attachLinks -> makes CSV upload much more snappy. 2020-10-09 20:06:54 +01:00
mike12345567 4147e8872b Updating tests and re-formatting. 2020-10-09 19:30:50 +01:00
mike12345567 ed778d15e2 Updating ID to use ro rather than re for rows. 2020-10-09 19:16:33 +01:00
mike12345567 d90c1e3dd3 Changing record -> row in this update, completing the update of renaming in the builder, this release needs further testing. 2020-10-09 19:10:28 +01:00
mike12345567 bb3370e742 Renaming Model -> Table across the entire system, this is an unstable update and has not been tested fully yet. 2020-10-09 18:49:23 +01:00
Martin McKeaveney 75fda94588 Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 17:42:17 +01:00
mike12345567 86102982a1 Making sure any errors that occur in usage quota are thrown up to stop endpoint from functioning. 2020-10-09 17:28:49 +01:00
Michael Shanks 6f890dbe85 :app to _app : bugfix 2020-10-09 17:14:02 +01:00
Michael Shanks 1758243de9 renaming Record > Row 2020-10-09 17:12:55 +01:00
Martin McKeaveney f75f0f5f28 updated quota fixes 2020-10-09 17:07:46 +01:00
mike12345567 ac9be28064 Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 14:38:11 +01:00
kevmodrome 048021abaa
re-enable event 2020-10-09 13:48:36 +02:00
Andrew Kingston 13506be0fa Fix issue displaying linked records in a table 2020-10-09 12:42:56 +01:00
Andrew Kingston 1091526e1f Merge branch 'master' of github.com:Budibase/budibase into feat/linked-records-data-source 2020-10-09 12:34:25 +01:00
Andrew Kingston d1f367ccff Add relationships as data source 2020-10-09 12:24:18 +01:00
kevmodrome ba1d268639
Merge branch 'master' into feature/add-grid-to-standard-components 2020-10-09 13:08:03 +02:00
Michael Shanks e083d60597 merge from master 2020-10-09 12:01:49 +01:00
Michael Shanks f1eeb17dd3 auto create screens with new table 2020-10-09 11:58:46 +01:00
kevmodrome 2af12c6801
adds editable setting 2020-10-09 12:42:16 +02:00
Martin McKeaveney e7ee1ea12a Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 11:32:50 +01:00
mike12345567 4ba636897b Adding in default plan if the obj found does not have the required information. 2020-10-09 11:32:25 +01:00
mike12345567 844383631e Merge branch 'master' of github.com:Budibase/budibase into api-usage-tracking 2020-10-09 11:21:26 +01:00
Martin McKeaveney dbd0382d05 Merge branch 'api-usage-tracking' of github.com:Budibase/budibase into deployment-api-usage 2020-10-09 11:21:03 +01:00
Martin McKeaveney 4abc54380d use centralised document types and separators 2020-10-09 10:50:44 +01:00
Martin McKeaveney c885382225 code review 2020-10-09 10:46:38 +01:00
kevmodrome 892bac9808
move important stuff up top 2020-10-09 11:43:35 +02:00
kevmodrome 00d5857232
refactor and clean up 2020-10-09 11:35:52 +02:00
kevmodrome 4f3ebb29e9
adds options type support to grid component 2020-10-09 11:23:42 +02:00
mike12345567 ba758905cc Removing sanisation, instead just using it as a central path system. 2020-10-09 10:00:57 +01:00
mike12345567 334b4b1696 Update to IDs as has been discussed, to change them from colons (:) to underscores (_) as this is more URL, S3 and file system safe. Also shortening most prefixes down to two characters. 2020-10-09 09:47:37 +01:00