Author Topic: Testing build #140  (Read 9931 times)

0 Members and 1 Guest are viewing this topic.

Offline TSG

  • Operator
  • Tireless poster
  • *****
  • Posts: 1934
    • View Profile
    • RAWR-Designs
Re: Testing build #140
« Reply #15 on: November 06, 2007, 07:35:06 AM »
The filters give more control. Having ?search= would make things more understandable, ?search = ?filter returning all items in the database, a generic search you could say. ?search-files = ?files-filter (but you don't have to filter folders out with folders-filter=\), search-folders = ?folders-filter (but you don't have to filter files out with files-filter=\).

I also like how we have the option of recursive and non-recursive search, and this is where the terminology crosses over, without ?recursive, you basically FILTER the current content on the page, whereas using ?recursive acts more like a search of the database.

I like how we have the control to search files, folders and both. I see the progression this feature has had, and essentially it is only ever going to be used as a search, but then it isn't a search but rather a filter of the content, i guess you could say we are stuck between terminologies.
« Last Edit: November 06, 2007, 08:03:18 AM by That_Stevens_Guy »

Offline TCube

  • Tireless poster
  • ****
  • Posts: 445
    • View Profile
Re: Testing build #140
« Reply #16 on: November 06, 2007, 09:35:46 AM »
Salut Rejetto ! thks for 140 [jumped from 126 to 140 - no more pblm with "login" under 128]
flashback on pblm
« Last Edit: November 06, 2007, 09:39:28 AM by TCube »
Make it idiot-proof and I will make a better idiot

Offline Foggy

  • Tireless poster
  • ****
  • Posts: 806
    • View Profile
Re: Testing build #140
« Reply #17 on: November 06, 2007, 09:41:03 AM »
The filters give more control. Having ?search= would make things more understandable, ?search = ?filter returning all items in the database, a generic search you could say. ?search-files = ?files-filter (but you don't have to filter folders out with folders-filter=\), search-folders = ?folders-filter (but you don't have to filter files out with files-filter=\).

I think it would be a lot more simpler that way and how TSG has described not needing to filter out folders/files is how I originally thought the search would work until I learnt otherwise.

Offline Giant Eagle

  • Tireless poster
  • ****
  • Posts: 535
  • >=3 RAWR!
    • View Profile
    • RAWR-Designs.com
Re: Testing build #140
« Reply #18 on: November 07, 2007, 10:53:03 AM »
maybe it's a good idea to have ?search=XXX that behaves as an alias for ?recursive&filter=*XXX*
what you think ?

Yes, that would really help. Makes it possible to create a non-js search form aswell.

Offline Garphy

  • Occasional poster
  • *
  • Posts: 80
    • View Profile
Re: Testing build #140
« Reply #19 on: November 07, 2007, 12:23:20 PM »
1."Open in browser" fail...it shows the folder where hfs.exe is

2.new new URL parameters is needed to seach in the subfolders
but i suggest:
Quote
<FORM action="~search" method="POST">
<select name=filter>
<OPTION value=0>both</OPTION>
<OPTION value=1>folders</OPTION>
<OPTION value=2>files</OPTION>
</select>
<INPUT TYPE="checkbox" NAME="subfolder" VALUE="1" checked="checked"> Search in the subfolders
<INPUT TYPE="text" NAME="keyword" SIZE="41" MAXLENGTH="100" VALUE="">
<INPUT name="Send" type="submit" value="Search">
</FORM>

~search build in the hfs

Offline TSG

  • Operator
  • Tireless poster
  • *****
  • Posts: 1934
    • View Profile
    • RAWR-Designs
Re: Testing build #140
« Reply #20 on: November 07, 2007, 01:36:17 PM »
Open in browser is fine.

Whats your point with the second part? I already have this working with the filter params, rejetto is contemplating changing the terminology thats all.

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12945
    • View Profile
Re: Testing build #140
« Reply #21 on: November 07, 2007, 06:30:52 PM »
URLs with ~ are going to disappear in the future. (maybe in HFS3)
they will be replaced by ?commands.
this is much more close to the standards.

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1876
    • View Profile
Re: Testing build #140
« Reply #22 on: November 07, 2007, 06:44:18 PM »
Quote
new URL parameters is needed to seach in the subfolders

Rejetto factory of the tools, to you to use them to build what you want in your templates, some lines of code in hfs allow to avoid some pages of javascript, but you should not to ask in hfs to know how to make everything ...

Rejetto fabrique les outils ( filter, files-filter, sort, recursive ....), à vous de les utiliser pour construire avec ces outils ce que vous voulez dans vos templates, quelques lignes de code en delphi suffisent parfois, là où quelques pages de javascript seraient nécessaires, mais on ne peut demander à hfs de savoir faire toute les choses qu'on voudrait lui voir faire...

it was not directly to you rejetto but to all ask to you making this or this, somes limits are necessary.

Sample : can you transform hfs, i would like to go on MOON with it( Mars(ch), I know soon it   ;D ;D ;D)
« Last Edit: November 07, 2007, 10:40:12 PM by mars »

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12945
    • View Profile
Re: Testing build #140
« Reply #23 on: November 07, 2007, 07:04:25 PM »
i didn't understand you, mars
when you write me you can use french, better than an automatic translation

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1876
    • View Profile
Re: Testing build #140
« Reply #24 on: November 07, 2007, 11:20:16 PM »
rejetto

HFS --> other options-->default sorting ->> select 'by extension' don't work,  'by name' is always activated

Quote
code source

foldersBefore:=mainfrm.foldersbeforeChk.checked;
if defSorting = 'time' then sortBy:=SB_TIME
else if defSorting = 'size' then sortBy:=SB_SIZE
else if defSorting = 'hits' then sortBy:=SB_DL
else if defSorting = 'extension' then sortBy:=SB_EXT          //this line is missing
else sortBy:=SB_NAME;
with TconnData(conn.data).params do
  begin
  v:=values['sort'];
  rev:=indexOf('rev') >= 0;
  end;
if v > '' then
  case v[1] of
    'n': sortBy:=SB_NAME;
    'e': sortBy:=SB_EXT;
    's': sortBy:=SB_SIZE;
    't': sortBy:=SB_TIME;
    'd': sortBy:=SB_DL;
    end;
« Last Edit: November 07, 2007, 11:22:05 PM by mars »

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12945
    • View Profile
Re: Testing build #140
« Reply #25 on: November 08, 2007, 12:06:40 AM »
thank you for pointing me
i applied the fix

Offline Foggy

  • Tireless poster
  • ****
  • Posts: 806
    • View Profile
Re: Testing build #140
« Reply #26 on: November 08, 2007, 10:58:03 AM »
This build thinks it is build #139 and offered to upgrade me to #140

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12945
    • View Profile
Re: Testing build #140
« Reply #27 on: November 08, 2007, 12:49:55 PM »
garphy topic moved to www.rejetto.com/forum/?topic=5159

Offline rejetto

  • Administrator
  • Tireless poster
  • *
  • Posts: 12945
    • View Profile
Re: Testing build #140
« Reply #28 on: November 08, 2007, 12:50:47 PM »
This build thinks it is build #139 and offered to upgrade me to #140

this problem is only for those who downloaded the build few minutes after the publishing.
already solved.