Comments (14)
I'm going to implement pagination ASAP.
from nppgist.
Could you please check the latest version https://ci.appveyor.com/project/KvanTTT/nppgist/builds/35074337 on your win 7 system?
from nppgist.
Works like a charm! Thanks for your patience!
My system is running .net client/full: 4.7.02558
from nppgist.
I don't think so, it's quite strange.
from nppgist.
Correction, it is showing 30, not 29 as I initially wrote.
I have a script that lists my gists and it has the same issue, only showing 30 of 52 gists,
Digging further I found out the API changed a bit.:
https://docs.github.com/en/rest/reference/gists#list-gists-for-a-user
https://developer.github.com/v3/#pagination
<authenticated session>
curl https://api.github.com/users/{username}/gists | jq-win64 ".[]|.files[].filename" gistout.json | wc -l
30
<authenticated session>
curl "https://api.github.com/users/{username}/gists?page=1&per_page=100" | jq-win64 ".[]|.files[].filename" gistout.json | wc -l
52
I haven't read through the source code, but can this be the issue?
BR Agail
from nppgist.
Ideally, we should implement pagination. But a more simple solution - just to enlarge the number of taken gists (but max 100).
from nppgist.
I've implemented it, check in the latest build: https://ci.appveyor.com/project/KvanTTT/nppgist/builds/35063667 Also, you can configure GistsPerPage
parameter (default 30) in ini settings file.
from nppgist.
Running npp 7.8.9 x64
Failed to load
NppGist.dll is not compatible with the current version of Notepad++.
Do you want to remove this plugin from the plugins directory to prevent this message from the next launch?
Yes, I picked the x64 version of the dll ;)
from nppgist.
It works fine on my computer (1.4.0.24). Could you please check the x86 version?
from nppgist.
Same issue with npp 7.8.9 x86
Also, I found this in my inbox from github
On September 5th, 2020 at 20:44 (UTC) your personal access token (notepad++) using NppGist was used as part of a query parameter to access an endpoint through the GitHub API:
https://api.github.com/user
Please use the Authorization HTTP header instead, as using the `access_token` query parameter is deprecated. If this token is being used by an app you don't have control over, be aware that it may stop working as a result of this deprecation.
Depending on your API usage, we'll be sending you this email reminder on a monthly basis for each token and User-Agent used in API calls made on your behalf.
Just one URL that was accessed with a token and User-Agent combination will be listed in the email reminder, not all.
Visit https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param for more information about suggested workarounds and removal dates.
Thanks,
The GitHub Team
from nppgist.
Such an issue is definitely resolved, I and another user have checked it, see #12
from nppgist.
Good to know, I missed that, sorry.
I’ll try your .23 release when I get back to see if that also trigger the error message.
Stay tuned ..
from nppgist.
Success, well sort of anyway ;)
I went ahead and tried npp 7.8.8 and 7.8.9 with nppGist 1.4.0.23 and 1.4.0.24, both x86 and x64.
Still same issue, then I realized it might be my win7
Works as expected on my win10
Is win7 supported at all or am I missing some dependencies perhaps? (yeah, I know its no longer supported by MS, but still.)
from nppgist.
Maybe it's something related to the .NET framework version? What version do you have installed on Win 7? NppGist requires .NET 4.7.2 since 1.3.0 (01.12.2019).
Wait, I'll try to downgrade .NET version down to 4.6.1.
from nppgist.
Related Issues (18)
- Add "Save Locally" in Save Dialog
- Error during tree update HOT 1
- [GitHub API] Deprecation notice for authentication via URL query parameters HOT 4
- Implement async API and UI
- Merge "Open" and "Save" forms into the single one
- Make forms not modal
- Error when pull gist HOT 2
- Icon not visible with Notepad++ dark theme HOT 3
- Description field is broken HOT 7
- Failed to load HOT 2
- Saving gist crashes Notepadplusplus HOT 8
- Problems saving to Gist HOT 1
- Not Notepad++ Unicode Compliant, will not open in modern NP++ HOT 2
- После установки плагина не работает XML Tools HOT 2
- Вообще не работает опция сохранить HOT 7
- x64 HOT 4
- Support for choosing directory to save gists
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nppgist.