rejetto forum
May 24, 2012, 10:42:02 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Testing build #140  (Read 7381 times)
0 Members and 2 Guests are viewing this topic.
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #15 on: November 06, 2007, 01: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, 02:03:18 AM by That_Stevens_Guy » Logged

TCube
Insane poster
*****
Offline Offline

France France

Posts: 431



View Profile
« Reply #16 on: November 06, 2007, 03: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, 03:39:28 AM by TCube » Logged

Make it idiot-proof and I will make a better idiot
Foggy
Insane poster
*****
Offline Offline

Australia Australia

Posts: 806


View Profile
« Reply #17 on: November 06, 2007, 03: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.
Logged
Giant Eagle
Insane poster
*****
Offline Offline

Netherlands Netherlands

Posts: 533


>=3 RAWR!

no.body056@gmail.com
View Profile WWW
« Reply #18 on: November 07, 2007, 04: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.
Logged

Rest in peace 500mhz server, you served me well...
New 1500mhz server DOA'ed on me >_>
New 2400mhz server up and running again Grin

Garphy
Experienced poster
***
Offline Offline

Posts: 80


View Profile Email
« Reply #19 on: November 07, 2007, 06:23:20 AM »

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
Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #20 on: November 07, 2007, 07:36:17 AM »

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.
Logged

rejetto forum
« Reply #20 on: November 07, 2007, 07:36:17 AM »

Do you like this software? Consider even $2
 Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #21 on: November 07, 2007, 12: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.
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #22 on: November 07, 2007, 12: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   Grin Grin Grin)
« Last Edit: November 07, 2007, 04:40:12 PM by mars » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #23 on: November 07, 2007, 01:04:25 PM »

i didn't understand you, mars
when you write me you can use french, better than an automatic translation
Logged
Mars
Operator
Insane poster
*****
Offline Offline

France France

Posts: 1481



View Profile WWW
« Reply #24 on: November 07, 2007, 05: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, 05:22:05 PM by mars » Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #25 on: November 07, 2007, 06:06:40 PM »

thank you for pointing me
i applied the fix
Logged
Foggy
Insane poster
*****
Offline Offline

Australia Australia

Posts: 806


View Profile
« Reply #26 on: November 08, 2007, 04:58:03 AM »

This build thinks it is build #139 and offered to upgrade me to #140
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #27 on: November 08, 2007, 06:49:55 AM »

garphy topic moved to www.rejetto.com/forum/?topic=5159
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11829


View Profile
« Reply #28 on: November 08, 2007, 06:50:47 AM »

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.
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 11, 2012, 03:14:28 AM