Branch/Tag 가 지정되어 있지 않습니다.
paginate-search-init
main
s3
fix-delete-user
timeline-cli
blog-title
signature
remove-dup-images
ldap-non-anon
drone-ci
DearRude/force-lang
igalic/go/async-all-mut
go/async
floreal/translations-update
missing-docs
RAOF/fix-arm64-build
epsilon-phase/authorized-fetch
upgrade
improve-the-editor-once-again
igalic/feat/custom-fairing-domains
feature/ldap
test/dotenv_error
fix-mobile-margin
0.7.2
0.7.0
0.2.0-alpha-1
0.3.0-alpha-2
0.4.0-alpha-4
0.5.0
0.6.0
0.7.1
레이블
레이블 초기화
Related to the REST API
Code running on the server
Stuff related to Federation
Related to the front-end
Translations, and related code
More about project management or code than the project itself
The building, or installation process of Plume
Something isn't working
We need to talk
New feature or request
This is a new feature
Compatibility with different browsers, readers and OS
Related to an external package that Plume uses
UI/UX related issues and PRs
Good for newcomers
Extra attention is needed
Issues affecting only mobile UX
How elements're rendered out for the end user
Something else needs to be fixed first
This issue or pull request already exists
This PR is not complete yet
Issues concern a limited number of instances
This doesn't seem right
Need to be discussed by the community (on Loomio)
This PR is ready to be reviewed
Proposed ideas worth considering
This is issue has been created after a vote on Loomio
This will not be worked on
Apply labels
A: API
Related to the REST API
A: Backend
Code running on the server
A: Federation
Stuff related to Federation
A: Front-End
Related to the front-end
A: I18N
Translations, and related code
A: Meta
More about project management or code than the project itself
A: Security
Build
The building, or installation process of Plume
C: Bug
Something isn't working
C: Discussion
We need to talk
C: Enhancement
New feature or request
C: Feature
This is a new feature
Compatibility
Compatibility with different browsers, readers and OS
Dependency
Related to an external package that Plume uses
Design
UI/UX related issues and PRs
Documentation
Good first issue
Good for newcomers
Help welcome
Extra attention is needed
Mobile
Issues affecting only mobile UX
Rendering
How elements're rendered out for the end user
S: Blocked
Something else needs to be fixed first
S: Duplicate
This issue or pull request already exists
S: Incomplete
This PR is not complete yet
S: Instance specific
Issues concern a limited number of instances
S: Invalid
This doesn't seem right
S: Needs Voting/Discussion
Need to be discussed by the community (on Loomio)
S: Ready for review
This PR is ready to be reviewed
Suggestion
Proposed ideas worth considering
S: Voted on Loomio
This is issue has been created after a vote on Loomio
S: Wontfix
This will not be worked on
레이블 없음
A: API
A: Backend
A: Federation
A: Front-End
A: I18N
A: Meta
A: Security
Build
C: Bug
C: Discussion
C: Enhancement
C: Feature
Compatibility
Dependency
Design
Documentation
Good first issue
Help welcome
Mobile
Rendering
S: Blocked
S: Duplicate
S: Incomplete
S: Instance specific
S: Invalid
S: Needs Voting/Discussion
S: Ready for review
Suggestion
S: Voted on Loomio
S: Wontfix
마일스톤
Set milestone
마일스톤 초기화
No items
마일스톤 없음
담당자
Assign users
담당자 초기화
담당자 없음
참여자 2명
알림
마감일
기한이 올바르지 않거나 범위를 벗어났습니다. 'yyyy-mm-dd'형식을 사용해주십시오.
마감일이 설정되지 않았습니다.
의존성
No dependencies set.
Reference: Plume/Plume#924
Reference in New Issue
아직 콘텐츠가 없습니다.
'%!s(<nil>)' 브랜치 삭제
Deleting a branch is permanent. It CANNOT be undone. Continue?
아니오
예
Today, again I faced with an issue for making a blog post. I noticed I could make the post by different names but not any of the following:
If I would make a post with these titles, the post would be made but If I wanted to edit it, the edit page would load half. So body text was not complete and also no other form element would appear after that textbox. So I had to remove the post and make a new one.
Though I could make a post with this title:
I faced with the same issue long time ago. So I think this issue is not related to any of the recent changes in code base.
@ahangarha Could you paste the article's body here?
This is the wholde article:
https://paste.ubuntu.com/p/bhx5wnrKPg/
تغییر نام انبوه پروندهها با افزودن شماره به اول نام
روز گذشته، ویدئوهای یک فهرست پخش را از یوتیوب بارگیری کردم. ۱۱۸ ویدئو در آن فهرست موجود بود که متاسفانه فاقد شماره سریال بودند. در نتیجه امکان تغییر نام و جابهجا کردن شماره سریال از انتها به ابتدای نام پروندهها نبود. بنابراین نیاز بود راهی پیدا کنم باری اینکه پروندهها مرتب و شماره سریالی به اول نامشان اضافه کنم. و پیش از ادامه، تاکید کنم که این کار، روی گنولینوکس #اوبونتو انجام شده است.
به لطف مرتب بودن ویدئو در فهرست پخش و اینکه برنامه youtube-dl آنها را به همان ترتیب نمایش در فهرست، دریافت میکند، اطمینان داشتم که زمان ایجاد ویدئوها داخل پوشه، مرتب است. بنا بر این، با دستوری مثل
ls -tr
میشد پروندهها را به ترتیب زمانی مشاهده کرد.از اینجا به بعد کافی بود که بتوانم حلقهای ایجاد کنم و بر اساس محتوای دستور
ls
نام پروندهها را گفته و شمارهای به اولشان اضافه کنم. ابتدا به سراغ دستورfor
رفتم. متاسفانه این دستور اگر به صورتfor f in $(ls -tr)
استفاده شود، متن را بر حسب فاصله هم از هم تفکیک ميکند. در نتیجه در عمل، امکان دریافت نام کامل (در صورتی که در نام پرونده، فاصله وجود داشته باشد) به این روش میسر نبود. لااقل من چیزی روی اینترنت پیدا نکردم.روش دیگر این بود که ابتدا فهرست مرتب شده را با
ls
ایجاد کنم و سپس خروجیاش را به دستور دیگری مثلwhile read f
بدهم. خوشبختانه این دستور به دلیل خواندن خط به خط، مشکل بالا را حل میکرد و به این ترتیب، نام هر پرونده را میتوانستم در متغیر$f
داشته باشم.الان تنها کاری که لازم بود انجام شود، ایجاد یک متغیر برای شمارش و درج آن در اول نام پرونده و افزایش آن در هر بار پردازش داخل حلقه بود. برای اطمینان از این که تعداد رقمها در شماره با هم برابر است و اولین ویدئو به صورت 001 نامگذاری میشود نه 1، از دستور قالبدهی به متن به این شکل استفاده کردم:
تغییر نام هم که با دستوری مثل rename به راحتی قابل انجام است. (البته من از rename روی اوبونتو استفاده میکنم که با rename روی برخی توزیعهای گنولینوکسی دیگر مانند CentOS متفاوت است.) قبل از تغییر نام پروندهها و تا رسیدن به نتیجه مطلوب، از گزینه
n
در این دستور استفاده میکنم که بدون تغییر نام، فقط بگوید که تغییر نام پروندهها به چه شکل خواهد بود. نتیجه، چیزی شبیه به این میشود:خروجیاش هم چیزی شبیه به این باید باشد:
و چون نتیجه، همان چیزی است که من میخواستم دستور را بدون گزینه
n
اجرا کردم. در نتیجه، به راحتی ۱۱۸ پرونده بدون شماره، دارای شماره شدند تا بتوان به راحتی ترتیبشان را دید. دستورات نهایی به این شرحاند:این را نوشتم که بعدا برای خودم قابل ارجاع و استفاده مجدد باشد. موارد زیادی پیش میآید که نیاز به چنین کاری پیدا ميکنم. امیدوارم به درد دیگران هم بخورد. من، دانش محدودی در نوشتن کدهای شل دارم. لذا چیزی که نوشتم الزاما بهترین راهحل نیست. اگر راه بهتر و آسانتری برای این کار میشناسید، لطفا همرسانی کنید.
Thanks!
I had the same issue today again. This is the article:
title:
چند سؤال پیرامون نمودار مرگ در ایران در سالهای ۲۰۱۸ تا ۲۰۲۰
body:
hmmm... the issue might be in Rocket.
Someone truncates response body to 8270 bytes... Rocket...hyper...or else.
rocket_csrf seems doing something because this problem's away if I remove it.
I'm upgrading it for Rocket 0.5. So, after that upgrading, I will work with this issue again.
This is actually a bug of rocket_csrf: plume/rocket_csrf#10
I found the cause and fixed it at last! It will be included in the next release.