eXpandFramework / eXpand

DevExpress XAF (eXpressApp) extension framework. 𝗹𝗶𝗻𝗸𝗲𝗱𝗶𝗻.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺, 𝘆𝗼𝘂𝘁𝘂𝗯𝗲.𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸.𝗰𝗼𝗺 and 𝘁𝘄𝗶𝘁𝘁𝗲𝗿 @𝗲𝘅𝗽𝗮𝗻𝗱𝗳𝗿𝗮𝗺𝗲𝘄𝗼𝗿𝗸 and or simply 𝗦𝘁𝗮𝗿/𝘄𝗮𝘁𝗰𝗵 this repository and get notified from 𝗚𝗶𝘁𝗛𝘂𝗯
http://expand.expandframework.com
Microsoft Public License
220 stars 114 forks source link

Model Editor does not open #1053

Closed CWolffIF closed 3 months ago

CWolffIF commented 5 months ago

If I try to open the Modeleditor I got the error image

How can I use the Modeleditor without downloading it every time?

apobekiaris commented 5 months ago

hmm it does not download everytime, it uses this method to check the latest version and if matched it does not get it again.

https://github.com/eXpandFramework/Reactive.XAF/blob/b35d53f6f84752d9c902e79cf1d0bf9ff62112cd/tools/Xpand.XAF.ModelEditor/IDE/ModelEditor.Win/Xpand.XAF.ModelEditor.Module.Win/MEService.cs#L162-L170

CWolffIF commented 5 months ago

Hi, today I get the error "Response status code does not indicate success: 403 (rate limit exceeded)." again. Is it possible to use the ModelEditor without an Internetconnection?

apobekiaris commented 5 months ago

no its not, there is only one call to https://api.github.com/repos/expandframework/reactive.xaf/tags to get the current version, I cannot see how this can result in a rate limit

CWolffIF commented 4 months ago

Hi, today I get the error "Response status code does not indicate success: 403 (rate limit exceeded)." every week.

If I try https://api.github.com/repos/expandframework/reactive.xaf/tags I get:

{ "message": "API rate limit exceeded for 185.35.216.49. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)", "documentation_url": "https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting" }

apobekiaris commented 4 months ago

yes I am aware about the authenticated rate limits, however this is your enviroment, the rate limit u getting is because for some reason your IP (not mine or somebody else) is doing many requests too fast. Opening the Editor does not justing this even if u constantly open and close it you never reach the limit.

Does something comes into your mind that could help this discussion

CWolffIF commented 4 months ago

The IP 185.35.216.49 is from the Internetprovider of our town/country. So I do not have any influence.....

apobekiaris commented 4 months ago

as I have not seen any other complains I can simply add a flag to disable the call and get the version from the app.config. However this means it is your responsibility to update the plugin on each new release

apobekiaris commented 4 months ago

I really not sure how efficient this will be for you, especially if you work with many solutions and .net versions. In any case I will update u once I have something. For now you possiblyy can go through a VPN and continue to work

apobekiaris commented 4 months ago

The pre-release 4.232.4.0 in the Reactive.XAF lab branch includes commits that relate to this task:

To minimize version conflicts we recommend that you use the Xpand.XAF.Core.All, Xpand.XAF.Win.All, Xpand.XAF.Web.All packages. Doing so, all packages will be at your disposal and .NET will add a dependecy only to those packages that you actually use and not to all (see the Modules installation-registrations youtube video).

Released packages: Xpand.Extensions v.4.232.4
Xpand.Extensions.Blazor v.4.232.4
Xpand.Extensions.Mono.Cecil v.4.232.4
Xpand.Extensions.Office.Cloud v.4.232.4
Xpand.Extensions.Office.Cloud.Google.Blazor v.4.232.4
Xpand.Extensions.Reactive v.4.232.4
Xpand.Extensions.XAF v.4.232.4
Xpand.Extensions.XAF.Xpo v.4.232.4
Xpand.TestsLib v.4.232.4
Xpand.TestsLib.Blazor v.4.232.4
Xpand.TestsLib.Common v.4.232.4
Xpand.TestsLib.EasyTest v.4.232.4
Xpand.VersionConverter v.4.232.4
Xpand.XAF.Core.All v.4.232.4
Xpand.XAF.Modules.AutoCommit v.4.232.4
Xpand.XAF.Modules.Blazor v.4.232.4
Xpand.XAF.Modules.BulkObjectUpdate v.4.232.4
Xpand.XAF.Modules.CloneMemberValue v.4.232.4
Xpand.XAF.Modules.CloneModelView v.4.232.4
Xpand.XAF.Modules.Email v.4.232.4
Xpand.XAF.Modules.GridListEditor v.4.232.4
Xpand.XAF.Modules.HideToolBar v.4.232.4
Xpand.XAF.Modules.JobScheduler.Hangfire v.4.232.4
Xpand.XAF.Modules.JobScheduler.Notification v.4.232.4
Xpand.XAF.Modules.MasterDetail v.4.232.4
Xpand.XAF.Modules.ModelMapper v.4.232.4
Xpand.XAF.Modules.ModelViewInheritance v.4.232.4
Xpand.XAF.Modules.Office.Cloud.Google v.4.232.4
Xpand.XAF.Modules.Office.Cloud.Google.Calendar v.4.232.4
Xpand.XAF.Modules.Office.Cloud.Google.Tasks v.4.232.4
Xpand.XAF.Modules.Office.DocumentStyleManager v.4.232.4
Xpand.XAF.Modules.OneView v.4.232.4
Xpand.XAF.Modules.PositionInListView v.4.232.4
Xpand.XAF.Modules.ProgressBarViewItem v.4.232.4
Xpand.XAF.Modules.RazorView v.4.232.4
Xpand.XAF.Modules.Reactive v.4.232.4
Xpand.XAF.Modules.Reactive.Logger v.4.232.4
Xpand.XAF.Modules.Reactive.Logger.Client.Win v.4.232.4
Xpand.XAF.Modules.Reactive.Logger.Hub v.4.232.4
Xpand.XAF.Modules.Reactive.Rest v.4.232.4
Xpand.XAF.Modules.RefreshView v.4.232.4
Xpand.XAF.Modules.SequenceGenerator v.4.232.4
Xpand.XAF.Modules.Speech v.4.232.4
Xpand.XAF.Modules.SpellChecker v.4.232.4
Xpand.XAF.Modules.StoreToDisk v.4.232.4
Xpand.XAF.Modules.SuppressConfirmation v.4.232.4
Xpand.XAF.Modules.TenantManager v.4.232.4
Xpand.XAF.Modules.ViewEditMode v.4.232.4
Xpand.XAF.Modules.ViewItemValue v.4.232.4
Xpand.XAF.Modules.ViewWizard v.4.232.4
Xpand.XAF.Modules.Windows v.4.232.4
Xpand.XAF.Web.All v.4.232.4
Xpand.XAF.Win.All v.4.232.4

Please update the related Nuget packages and test if issues is addressed. These are nightly nuget packages available only from our NugetServer.

If you do not use these packages directly but through a module of the main eXpandFramework project, please wait for the bot to notify you again when integration is finished or update the related packages manually.

Thanks a lot for your contribution.

apobekiaris commented 4 months ago

these are source changes the plugin are not yet published.

apobekiaris commented 4 months ago

plugins are now published, should work authenticated now and much faster as the parsing is cached in memory