Commit Graph

5607 Commits

Author SHA1 Message Date
Ilya Bogdanov
021fadac19
fix ag grid header style (#11891) 2024-12-17 21:06:34 +00:00
James Dunkerley
bec33b4f2e
Last Bits for Release (#11890)
- Linting clean up before doc site load.
-
2024-12-17 21:04:41 +00:00
Gregory Michael Travis
d53c51f8c9
Consume fetch stream output in tests (#11885) 2024-12-17 20:42:59 +00:00
marthasharkey
173478f29a
Wip/mk/display message on warning (#11705) 2024-12-17 17:01:09 +00:00
Dmitry Bushev
909afff9b8
RenameSymbol request allows collisions (#11892)
close #11658

Changelog:
- add: `DefinitionAlreadyExists` error when the definition with the provided name already exists

# Important Notes
In the GUI it looks like this


https://github.com/user-attachments/assets/824e7881-81bf-4547-a74a-7532753db614
2024-12-17 15:32:21 +00:00
Kaz Wesley
30075d26bf
Stricter URL recognition for autolinking (#11871)
Documentation editor: Use only regex-based URL recognition for pasted text; increase strictness of regex. Fixes #11697.
2024-12-17 14:13:30 +00:00
Paweł Grabarz
cf82c8c3c7
Enable prettier on docs markdown (#11875)
* Enable prettier on docs markdown

* Run prettier always

---------

Co-authored-by: Sergei Garin <sergei.garin@enso.org>
2024-12-17 13:36:32 +00:00
Jaroslav Tulach
1df9ea6f3b
raiseAssertionPanic instead of shouldNotReachHere (#11877) 2024-12-17 14:33:07 +01:00
AdRiley
34ddd37301
Add Missing_Argument error to join right (#11888) 2024-12-17 15:19:07 +02:00
Dmitry Bushev
269354ebf7
Update licenses codeowners (#11876)
followup to #11663

> By making the license directories unowned, only the necessary reviewers will be added to the PR

Changelog:
- add: missing directories containing the legal review info
2024-12-16 16:37:05 +00:00
Dmitry Bushev
96c5f31009
Upgrade Scala to 2.13.15 (#11853)
close #11733
2024-12-16 16:07:03 +00:00
Kaz Wesley
d2ae17ffc9
Disallow a confusing constructor syntax (#11856)
Previously, a constructor or type definition with a single argument defined inline could use spaces within the argument's definition without parentheses, as in the draft spec. This syntax was found confusing and is no longer allowed. No usages occurred in our `.enso` files. Fixes #10812.
2024-12-16 15:54:19 +00:00
Gregory Michael Travis
61bb1ce4eb
Fix unused variable warning (#11851) 2024-12-16 15:38:47 +00:00
Kaz Wesley
aebfacd486
CodeEditor improvements (#11852) 2024-12-16 15:15:17 +00:00
James Dunkerley
63ed629210
Excel Reading (XLSX) using SAX Default Handler (#10877)
- Implement Excel reading as a SAXMLParser.
2024-12-13 21:01:16 +00:00
Radosław Waśko
e6bcd5e485
aggregate ..Sum of integer column remains integer and handles overflow (#11860)
- This was mentioned in #7192 but didn't get a proper ticket.
- Ensuring that summing integers gives an integer and not a float.
- Only in-memory, as in Database the result type is database-dependent and we want it to be like that.
- Also allowing the integer sum to overflow and become a `BigInteger`, in that case the resulting column will become `Decimal`.
2024-12-13 19:28:03 +00:00
Paweł Buchowski
be6eb1e49f
Fix sending same refreshToken as accessToken in open project request (#11862)
In `open_project` request body we send `cognitoCredentials` for the project to be able to communicate with Cloud API. Currently the `refreshToken` has the same value as `accessToken` making that communication buggy.
2024-12-13 19:14:21 +00:00
Jaroslav Tulach
7998ed5218
case of and intersection types (#11850)
Also: Prefer `getURI` path when gathering location of a source
2024-12-13 16:02:51 +01:00
Radosław Waśko
e9b0ba95b0
Fix ensoup launcher upgrade mechanism (#11833)
- Closes #11821 by updating the upgrade logic to the new executable name
- Re-enables the long disabled `UpgradeSpec` to make sure this remains tested.
- If the tests were enabled we would have caught the regression in #10535
- The tests have been heavily outdated due to being disabled, many small details changed and had to be amended.
- The tests are still marked as Flaky - they were known to be problematic on CI so their failures will not stop CI for now. But at least they are run and we can see if they succeed or not. Plus when running tests locally they will fail (as all tests marked as Flaky - the failure is only ignored on CI).
- Fixes another issue with an infinite cycle when no upgrade path can be found and adds a test for this case.
- If running a development build, the minimum version check can be ignored, as the check does not really make sense for `0.0.0-dev` build.
- Thus it closes #11831 also.
- Makes sure that `GithubAPI` caches the list of releases as fetching it can take time.
2024-12-12 17:06:01 +00:00
Jaroslav Tulach
fe5e13456a
Benchmark up_to . each (#11848)
Benchmark for #5355. Seems to be fast.
2024-12-12 14:17:22 +00:00
somebody1234
1a8888d562
Remove listVersions from Backend (#11849)
- Close https://github.com/enso-org/cloud-v2/issues/1616
- Remove `listVersions` from backend

# Important Notes
None
2024-12-12 13:06:50 +00:00
Pavel Marek
4d88dd1761
Fix benchmarks upload GH Action (#11842)
Modifies the [Benchmarks Upload](https://github.com/enso-org/enso/actions/workflows/bench-upload.yml) job to also upload special `cache/index.json` file that maps filenames in the cache to their timestamps.

This is necessary for https://github.com/enso-org/enso/issues/10212 but it is also good for an Enso workflow that analyses benchmarks from the locally cloned repo. (The workflow will soon be pushed to the https://github.com/enso-org/engine-benchmark-results repo)

# Important Notes
Moreover, the `Benchmarks Upload` job fails since yesterday (https://github.com/enso-org/enso/actions/runs/12269442294/job/34233007971), because there is an old workflow ID used for the engine benchmarks.

To allow more convenient testing of the Action, I have added an ability to trigger this action manually in 857c0864b6
2024-12-12 11:33:24 +00:00
somebody1234
b83c5a15eb
Clean up integration tests and add listeners for backend calls (#11847)
- Close https://github.com/enso-org/cloud-v2/issues/1604
- Add ability to track backend calls
- Remove inconsistent integration test code
- Add skeleton classes for settings pages

# Important Notes
None
2024-12-12 09:49:58 +00:00
Jaroslav Tulach
2964457d48
Intersection types & type checks (#11600)
Implementation of **type checks** for **intersection types**. The idea is to split the list of `types[]` in `EnsoMultiValue` into two parts:
- first `methodDispatchTypes` represent the types the value _"has been cast to"_
- the rest of the types represent the types the value _"can be cast to"_

By performing this separation we address the #10882 requirements. After a type check only methods available on the `methodDispatchTypes` can be invoked. However the value can still be cast to all the possible types.
2024-12-12 07:29:00 +00:00
somebody1234
ffd0de4661
Sticky headers for settings tables (#11826)
- https://github.com/enso-org/cloud-v2/issues/1574
- Make header rows sticky
- Use solid background on header rows User Groups and Members tables in settings to avoid overlapping text
- https://github.com/enso-org/cloud-v2/issues/895
- Make "name" column sticky in assets table

# Important Notes
None
2024-12-11 23:57:17 +00:00
Adam Obuchowicz
ffec1c8004
Fix clicking-out Component Browser (#11832)
Fixes #11829

There was implicit `any` on refs, so the typechecker didn't catch missing property.
2024-12-11 23:16:27 +00:00
Radosław Waśko
44a8de337e
Fix visualization on values derived from secrets (#11843)
A very small fix to a small defect I noticed.

Before:
![image](https://github.com/user-attachments/assets/abb091bd-c626-44a2-9cd3-eddbe0e8c2cb)

After:
![image](https://github.com/user-attachments/assets/857f0e09-5960-4322-921b-c8c44e50789f)
2024-12-11 22:14:54 +00:00
AdRiley
c5ccc5a359
Color missing value messages blue (#11841)
A missing value error message is more of a something you haven't done yet message than an error. So coloring it blue is more friendly and also ties into the blue highlighting of the widget names.

Also removed the default text when it isn't text but a function call

![image](https://github.com/user-attachments/assets/3c26dae8-8f38-4ddf-aefe-4ec625e812a6)
2024-12-11 21:41:33 +00:00
somebody1234
91ccceafe4
Combine context menus into single context menu (#11763)
- Combine all context menus to a single context menu
- Remove `ContextMenus` component

# Important Notes
None
2024-12-11 21:32:12 +00:00
AdRiley
8c8a2f8572
Change table viz colors (#11839)
Change the background color of the visualisations to be not pink. Darken some of the text/icons to improve contrast

![image](https://github.com/user-attachments/assets/f78ed75b-c1a0-40ba-a0ed-db03a8682496)
2024-12-11 20:59:51 +00:00
Adam Obuchowicz
bf7fe670e5
Fix CB port color (#11834)
Fixes #11830
2024-12-11 20:08:43 +00:00
Adam Obuchowicz
f1a283be03
Increase timeout of macOS E2E tests (#11837) 2024-12-11 17:34:10 +00:00
Jaroslav Tulach
9cf7833de0
Fill in ydoc-polyfill when running backend with the IDE (#11822) 2024-12-11 14:48:08 +01:00
Gregory Michael Travis
9e00b9ddcc
Clear cache on reload (#11673) 2024-12-10 18:51:26 +00:00
Gregory Michael Travis
d79b4218fc
Fix HTTP cache assertion failure for small disks (#11738) 2024-12-10 16:54:55 +00:00
James Dunkerley
a546de7970
Some more QA fixes (#11824)
- Update error message for `order_by`.
- Add some ALIASes.
- Hide some internal methods exported by mistake.
- Reorder dropdown in set.
![image](https://github.com/user-attachments/assets/7e6df21a-8ab6-4e6c-90ff-826e88f7b53d)
![image](https://github.com/user-attachments/assets/215b3b74-5718-4033-9ec9-468695f942b5)
2024-12-10 16:36:55 +00:00
Dmitry Bushev
af4f922bce
Schedule rename symbol job after compilation (#11780)
Ensures that the rename job is scheduled after the compilation job.
2024-12-10 15:55:18 +00:00
Kaz Wesley
98605b01b9
Code editor: Reject edits causing desynchronization (#11817)
Quick-fix for #11798: If a code-editor edit cannot be applied, revert it in the editor view and display a message "Unable to apply source code edit." This prevents module corruption, but can be inconvenient when trying to perform an edit involving certain syntactically-incorrect intermediate states that are not currently representable. An upcoming PR will provide a more comprehensive solution for that case.
2024-12-10 15:31:11 +00:00
Kaz Wesley
9f0c0c0257
Fix bug causing intermittent GUI unit test failures (#11801)
Fix failing prop test caused by edge case bug in new `findDifferenceIndex`.
2024-12-10 15:05:25 +00:00
somebody1234
f6a900191a
Fix getFileDetails and getProjectDetails (#11787)
- Fix https://github.com/enso-org/cloud-v2/issues/1617
- Set `staleTime: 0` to queries to ensure they are always refetched.
- Close https://github.com/enso-org/cloud-v2/issues/1579
- Add `&presigned=true` flag to request server to generate a presigned URL.

# Important Notes
None
2024-12-10 14:45:31 +00:00
Radosław Waśko
8749719c19
Fix required launcher version (#11823)
- When comparing pre-release version, the last part is compared lexicographically. In #11796, I did not consider that `rc` is a suffix that is 'larger' than `nightly` (because `r > n`).
- Now, we set this to a relatively recent nightly build.
- The self-upgrade mechanism will use the latest available build, so once the stable version is released it will be preferred.
- The project-manager should be working again because `2024.5.1-nightly.2024.12.10 > 2024.5.1-nightly.2024.11.29` and also `2024.5.1-rc1 > 2024.5.1-nightly.2024.11.29`.
2024-12-10 14:41:18 +00:00
Radosław Waśko
adcb657666
Allow Data.list to cross data links (#11802)
- Closes #11747
- Followup will also align `/` and other properties - initial tests already added but pending.
2024-12-10 11:13:03 +00:00
Jaroslav Tulach
e879a274fd
Including opencv native libraries as a resource in enso runner binary (#11807) 2024-12-10 06:21:25 +01:00
Sergei Garin
3ad09a1537
Second iteration of Dashboard Fixes (#11781)
Fixes:

- Opening deleted folder
- Icons
- Diff view collapsed
- Password input for passwords in settings
- Save button appears only if form in settings is dirty
- Disable clear trash button if it's empty
- Disable D&D in the root folder
- Disable Create actions if user select a folder without sufficient permissions
- Many more
2024-12-09 20:43:41 +00:00
dependabot[bot]
dca68ac1c0
Bump path-to-regexp and express in /tools/legal-review-helper (#11793)
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) to 0.1.12 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `path-to-regexp` from 0.1.10 to 0.1.12
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.10...v0.1.12)

Updates `express` from 4.21.1 to 4.21.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.1...4.21.2)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 18:16:15 +00:00
marthasharkey
a984aa59e5
Refactor drilldown code and add SQL_Server set up (#11809) 2024-12-09 17:57:03 +00:00
marthasharkey
97302313c5
Correctly format big integers (#11799) 2024-12-09 17:48:40 +00:00
marthasharkey
e3745b2527
Fix Dates in row visualization (#11813) 2024-12-09 17:22:12 +00:00
Paweł Grabarz
7e47a65b72
Color edges according to source node. (#11810)
Fixes #11536

<img width="238" alt="image" src="https://github.com/user-attachments/assets/e253b188-a6ce-468f-864c-9e814a8a2584">

Also fixed incorrect edge offset when dragging an target-connected edge.

<img width="140" alt="image" src="https://github.com/user-attachments/assets/d75ac860-c614-4f40-9cbc-b955e94f5a58">
(cursor painted in, because it wasn't captured by the screenshot 😅)

# Important Notes
Split away edge layout code away from the component to separate file. That code is likely to be significantly changed soon, but no significant modifications were made right now.
2024-12-09 15:29:35 +00:00
Jaroslav Tulach
3e23e72bed
Avoid storing 0.0.0-dev into package.yaml (#11805)
Storing `0.0.0-dev` into `package.yaml` makes little sense:
- no two _development version_ are the same
- there is no way to _download_ `0.0.0-dev` version via `ensoup`
- regular releases refuse to process `0.0.0-dev` projects

Better to avoid storing such _development version_ at all.
2024-12-09 14:57:14 +00:00