rejetto forum

Testing build #140

rejetto · 29 · 17353

0 Members and 1 Guest are viewing this topic.

Offline TSG

  • Operator
  • Tireless poster
  • *****
    • Posts: 1935
    • View Profile
    • RAWR-Designs
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: 440
    • View Profile
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
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
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
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: 1935
    • View Profile
    • RAWR-Designs
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: 13510
    • View Profile
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: 2059
    • View Profile
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: 13510
    • View Profile
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: 2059
    • View Profile
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: 13510
    • View Profile

Offline Foggy

  • Tireless poster
  • ****
    • Posts: 806
    • View Profile
This build thinks it is build #139 and offered to upgrade me to #140



Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
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.