rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - NaitLee

Pages: 1 ... 9 10 11 12 13 14
151
Beta / Re: version 2.4
« on: June 08, 2020, 05:03:50 PM »
I tried an empty [error-page] but that did no work.
So I had a look to default template, and got that:
Code: [Select]
[error-page]
%content%
With THIS in tpl makes the error pages work and pure ;)
That %content% places for specific error pages. Feel free to add other things.

152
Beta / Re: 2.4 translation
« on: June 08, 2020, 04:27:27 PM »
I also decided to change a couple of names, to have a standard naming, sorry for it.

Nothing, I made a spreadsheet with macros, helping me to just replace already-translated strings to new ID & names.
Translation is never easier than this ;)

How about me to publish that sheet out once I finished it?

153
Beta / Re: version 2.4
« on: June 08, 2020, 03:36:58 PM »
they assume you are clueless and you don't know what's happening, somebody else put the server on your machine :)

The "somebody" is the HFS update/rollback batch :D

The retry-on-429 is done ;)


Another thing:

I see some information about HFS is appended at end of an error page. But it also always includes the script jquery & "lib.js", even when in other templates and it's useless. This extra-loaded js will slow down some templates that needs response fast like Throwback (if it updated).

And the appended "HFS" object, how about add "var" before, to be compatible with "use strict"; ?

154
Beta / Re: version 2.4
« on: June 08, 2020, 03:24:44 PM »
@Windows Defender:
  Ah, yeah, you now said that straightly.
  But I don't know why you think a web server is a threat and unwanted.

155
Beta / Re: version 2.4
« on: June 08, 2020, 03:04:26 PM »
The 429 code also happens in Takeback (0.14b) with background image function enabled (by editing tpl file). Only in RC1.
This function also requires a filelist, which acts similar to the "get list" in default template of 2.3.
Thus the page bg is always blank without an image.

Seems this anti-DoS is too strict...

156
最新的 HFS 2.4 测试版本已经很稳定了,新的翻译文件可以涉及新版 HFS 的大多数字符串。
用法一样的,从附件下载即可 ;)

新版 HFS 要用新的模板格式。目前有 dj 的 Mobi-light、danny 的 Throwback 和我的 Takeback 可以用在 2.4!

更新(6-13 6pm):
hfs.rc7.lng: 适用于 2.4 后 RC7 (GitHub)
(注意重命名)


警告:翻译文件版本搭配不当有可能导致无限错误弹窗,此时需要在任务管理器结束 HFS 进程

157
Beta / Re: version 2.4
« on: June 06, 2020, 06:09:15 PM »
Seems simple (or complex, depending on our math skills) encryption can be done in just a template (client/page: javascript, server/template: math macros in changepwd ajax)

158
Beta / Re: version 2.4
« on: June 06, 2020, 05:19:25 PM »
How about having a encryption when we change our password?
(This can be put off, since HFS is open source, and the method we use should be careful.)

(@rejetto: seems that you're busy these days, or feeling hard to deal things mentioned my me. just do what you want, be patient, try not feel stressed about these things, be your best!)

159
Beta / Re: version 2.4
« on: June 05, 2020, 05:15:25 PM »
Files with commas in its name cannot be downloaded in Google Chrome, with the error ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION.

In most other servers this is an already-solved problem. Please refer to here in Stack Overflow for the solution.

160
Programmers corner / Re: 2.4 log font
« on: June 05, 2020, 04:33:29 PM »
The font problem already exists in non-Unicode versions like 2.3m.

It seems that this should not be considered as a true problem, since actually Tahoma does not support Japanese(have a view in Character Map, search it beside Start Menu), and HFS needs to switch fonts to correctly show file names.

Now the problem is: How to switch the font back after chunk of Unicode characters in filenames.
  (log type strings are not affected, according to the log's behavior with the new Chinese translation file.)

Another Unicode problem bro ;)

Hints:
  (N)SimSun ((新)宋体) are ancient serif fonts that support most East Asian characters. But they're pixelified when texts are small.
  MS (P)Gothic is for Korean(Japanese), they are sans-serif, but old too.

161
Beta / Re: 2.4 translation
« on: June 05, 2020, 11:24:14 AM »
Strings before [ResourceStrings] in 2.3m .lng file can be instandly moved to 2.4 one. They are compatible.

In the new file, there are 2 strings with the same ID 64766:

Code: [Select]
560 |  64766_main_MSG_MAX_SIM_DL_SING{1}=Max simultaneous downloads from a single IP address.
...
708 |  64766_main_MSG_MAX_SIM_DL_SING{2}=Max simultaneous downloads from single address

Seems it's them making the "Max simultaneous downloads from single address" unable to be translated.

There are still a few strings cannot be translated.
  Hovertip of the connection list
  Logboard -> addresses ever connected -> Totals
  The "about" message in menu
  Dialog for changing port
  The lower bar of HFS: Virtual File System: 1 item(s) - not saved
  (maybe more)

The almost-completed Chinese translation file for beta10 is attached for tests.

162
Beta / Re: version 2.4
« on: June 05, 2020, 02:41:16 AM »
Is here anything I can do to stop hfs being quarantined?

Click: Windows Defender in tray -> Virus & threat Protection (the shield on the left side) -> Below the "virus & threat protection settings" header, "Manage Settings" -> scroll down, see "exclusions" header, click "add or delete exclusions" -> add an exclusion, Process, input "hfs.exe" "hfs"; or add a folder you want to download/use hfs.exe every time -> Done ;)

Edit: seems the 2.4 process name is "hfs" rather than "hfs.exe". Please use that.

After this seems SmartScreen still reports something.  You can ignore them as they are easy to deal.

163
Beta / Re: 2.4 translation
« on: June 05, 2020, 02:25:07 AM »
let me understand, you can download the exe but not the lng in the links i gave you?

Yes, GitHub is no problem, but the raw- site "error connection refused".

164
Beta / Re: 2.4 translation
« on: June 04, 2020, 04:37:14 PM »
Is this .lng file already outdated?    (Without doubt, it's yes...)
I cannot access rejetto's link to hfs.lng, so I translated the file in the 2.4 topic.
But those newly added resource strings are not read correctly by HFS beta9, with dog-tail-on-a-cat problems and endless error popups like this.

Above are not big deals. Just try to offer a new version of hfs.lng with a valid link.
I've already translated new strings to Chinese in a spread sheet, convenient for management.
They need to be tested though. Now everything to do is to replace them to new .lng file, make HFS can run correctly with them :D

165
Go butto says "saved as ...addon.tpl",
but I don't find the file.

I've corrected that with a batch file. Have fun!

Pages: 1 ... 9 10 11 12 13 14