theia-ide / extension-registry Goto Github PK
View Code? Open in Web Editor NEWAn open-source registry for VS Code extensions
License: Eclipse Public License 2.0
An open-source registry for VS Code extensions
License: Eclipse Public License 2.0
When the server has an upstream registry configured, the resources may be fetched directly from the upstream instance. In that case I get
Access to fetch at 'https://…/api/DotJoshJohnson/xml/file/README.md' from origin '…' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'.
This should be avoided by not including credentials except where necessary.
The search feature should be fine-tuned. Currently the order of results is not optimal: e.g. using the provided test extensions, searching for "powershell" lists the powershell
extension at the third position, after php-intellisense
and code-runner
. Probably it has to do with the configuration of the ngram
token filter.
Errors that occur when requesting stuff from the API are currently only visible in the console. They should be shown to the user somehow.
See the VS Code Extension Manifest format.
preview
: whether the last published version is a previewmarkdown
: control the Markdown rendering enginegalleryColor
, galleryTheme
: control the gallery banner styleqna
: handle special values false
and marketplace
badges
: render a list of badgesdependencies
, bundledExtensions
: show links to extensions listed as dependenciesI started migrating the server application to Spring on the spring branch. I marked commented-out code with //XXX
so it's easier to find. What is left to do:
RouteConfig
/foo/bar
to /
/foo/bar/bundle.js
to /bundle.js
(detected when there is a .
character in the last path segment)/api
LocalRegistryService
Extension
, ExtensionVersion
and Publisher
AnalysisConfig
(may be done differently)build.gradle
(not sure whether we'll need that)REGISTRY_UPSTREAM_URL
)IUpstreamRegistry
interface by sending requests to the configured registrygetRegistries()
method of RegistryAPI
.UserAPI
UserSessionReaper
When typing into the search input field, a lot of requests are sent even when typing quickly. The user input should be debounced.
It should be possible to configure an upstream registry URL that is queried when the local database does not find any result. E.g. for the endpoint api/{publisher}/{extension}
, first the database shall be queried, and if that fails the server shall send a request to {upstreamUrl}/api/{publisher}/{extension}
.
When a user clicks on a category or tag on the detail page of an extension, she is routed back to the search page with the corresponding filter set up. But sometimes, the search page shows all extensions and not just the filtered list.
Two scenarios where a 404 page should be shown:
The registry currently features basic login functionality with a hard-coded dummy user. We should use an OAuth service. It would be great to set up a dummy OAuth implementation in Gitpod so we can test the login.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.