Commit Graph
191 Commits
Author SHA1 Message Date
kcozens 7c824ceb10 Updated the pre-compiled DLL to remove some debug messages left in by mistake.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@215 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2014-05-13 15:11:54 +00:00
kcozens 74a209eb1b Updated the pre-compiled DLL.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@214 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2014-05-13 03:06:56 +00:00
kcozens cab8b033a8 DateEvents flag, not Events, is set when searching events with viewer Search.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@213 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2014-05-12 18:08:20 +00:00
kcozens 9ee7375660 Use '/' between the parts of event landing point coordinates. Updated README.
Allow 0 or -1 to be considered as the "Any" category for event listings.
Event markers are seen on the map again but still can't search for events.


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@212 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2014-05-11 17:52:37 +00:00
kcozens 132254499f Updated the pre-compiled DLL.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@211 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2014-03-10 17:25:32 +00:00
kcozens ae57c23fa6 Removed code related to people and groups search to prevent duplicate results.
People and groups search is now handled via the core basic search module.


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@210 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2014-03-10 17:17:41 +00:00
kcozens 4771cd90aa Added 'parcelUUID' field to events table.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@208 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2014-03-02 20:36:11 +00:00
kcozens 741c62175c Updated SQL file to create tables using UTF-8 charset and collation.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@207 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2014-03-01 00:01:39 +00:00
kcozens c520c5cd46 Updated to enable searching for groups in 0.7.6-post-fixes.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@206 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2014-01-18 04:17:09 +00:00
kcozens 22b1bd4fe3 Updated prebuild.xml file: removed path references, removed obsolete module
reference, and set frameworkVersion to 4_0 as .NET 4.0 is now default for OS.


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@205 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2013-11-16 04:47:59 +00:00
kcozens 80c2e1a641 Updated the pre-compiled DLL.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@204 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2013-07-29 06:43:42 +00:00
kcozens 45480c288d Changes to allow event markers to appear on the world map.
Updated note in README about format for globalPos field in events table.
Don't need to search scene list for region data in OpenSearch.cs file.
Fixed passing of event_id to viewer.


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@203 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2013-07-29 06:36:18 +00:00
kcozens 7aaa6f8dc5 Fixed time limits of event searches and include in-progress events.
Event searches for a given day now take timezone into account to get
to start of day. Updated README with mention of the timezone usage.
Updated database structure, migration file, and the pre-compiled DLL.


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@202 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2013-07-17 20:47:16 +00:00
kcozens 5d58ed32b0 Changed assembly name and bumped version. Fixed grammer of "ready" message.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@201 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2013-07-12 15:42:42 +00:00
kcozens f4c7f1e739 Updated SQL files to use char(36) for all UUID fields.
Corrected upgrade instructions in the README file.


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@200 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2013-06-23 15:43:43 +00:00
kcozens 147012b8ab Updated the compilation and configuration information in the README file.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@199 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2013-06-23 03:16:03 +00:00
kcozens 5186ec068b Removed some obsolete information from the README file.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@198 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2013-06-23 01:59:02 +00:00
kcozens 0b56243e99 Trivial code clean up. Don't need else clause if execution gets that far.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@197 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2013-06-23 00:50:58 +00:00
kcozens d54733be77 Updated README with optional configuration line that specifies module name.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@196 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2013-06-23 00:44:07 +00:00
kcozens e2b4f0b60d Removed section from README about adding lines to [Modules] section.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@195 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2013-06-14 15:02:19 +00:00
melanie 3d7862d11a Add new ISearchModule interface member
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@194 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2013-01-15 21:25:59 +00:00
kcozens 4111378172 Use of $HTTP_RAW_POST_DATA is deprecated. Get data from php://input instead.
(See Forge bug #444)


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@193 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2012-12-24 18:46:58 +00:00
kcozens 917cb41436 Removed obsolete "Reference name" line from prebuild file. Updated DLL file.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@192 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2012-07-27 15:16:03 +00:00
kcozens 454e748a25 Use the text string to restrict results when searching classified ads.
This was previously fixed in revision 174 but got lost in some later commit.
The building of the SQL query in dir_classified_query() has been simplified.


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@191 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2012-07-21 06:23:00 +00:00
kcozens 79bfe13c35 This commit properly fixes searching for classified ads regardless of type
(PG, Mature, or Adult). The previous commit didn't handle Adult rated ads.

NOTE: For searches of classified ads to work correctly you must use revision
106 of profile.php from the osprofile addon module. Any classifieds that were
created before using revision 106 of profile.php will need to be updated to
ensure that the PG bit is set in the classifiedflags field in the database.


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@190 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2012-07-02 18:09:01 +00:00
kcozens 5da0311d08 Fix classifieds search when both PG and Mature results are being requested.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@189 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2012-07-01 06:12:36 +00:00
melanie 08e1f7172b Fix merge artefacts in the initialization code
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@188 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2012-06-05 11:30:19 +00:00
melanie 77bde11596 Replace the spammy init code with a cleaner version. Modules MUST NOT output
any messages when they are disabled.


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@187 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2012-06-04 18:02:39 +00:00
kcozens 5488778731 Updated pre-compiled module DLL.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@186 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2012-02-02 07:32:22 +00:00
kcozens e2eb4f5fc4 Changed handling of results for LandForSale and events in MapItemRequests()
and DirLandQuery() to avoid triggering an exception if region name is null.
(Problem spotted by Snoopy2 on #opensim-dev)


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@185 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2012-02-02 07:23:24 +00:00
kcozens ff51796212 Updated to use the new module loading method.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@184 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2012-01-06 03:00:34 +00:00
kcozens 05680c2bc2 Mature and Adult strings were swapped in process_region_type_flags().
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@183 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2012-01-06 02:40:29 +00:00
kcozens de3d2e65e8 Applied BlueWall Slade's patch to update prebuild.xml to newer build system.
(See patch #435)


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@182 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2012-01-03 21:27:16 +00:00
kcozens c47ab644af Updated pre-compiled module DLL (tested with 0.7.2-post-fixes)
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@181 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-12-03 17:06:33 +00:00
kcozens 3b4e0bec0a Added closing ')' that got lost from a mysql_query() in revision 177.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@180 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-12-01 07:33:08 +00:00
kcozens 624780e42b Set SVN properties on PHP and SQL files
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@179 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-11-30 02:50:37 +00:00
kcozens ca61f92e66 Stripped carriage returns from line endings.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@178 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-11-30 01:49:47 +00:00
kcozens 885d6ec687 webroot/query.php
- Fixed problems in Popular Places query:
  o Use supplied text and query start position when building SQL query
  o Don't include search of 'description' field as it doesn't exist

README
- Corrected format for globalPos data in events table


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@177 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-11-30 01:41:49 +00:00
kcozens 369eddcb54 OpenSimSearch/Modules/SearchModule/OpenSearch.cs
- Added support for Event mapitem queries

webroot/query.php
- Fixed parsing of search string and handling of UTC offset
- Include region and landing point in returned data


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@176 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-11-30 01:21:35 +00:00
kcozens 4cbbd3c94c webroot/query.php
- Include text string from the viewer (if any) in searches for popular places.


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@175 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-11-18 01:18:55 +00:00
kcozens eee9f83659 webroot/query.php
- Restrict classifieds search based on supplied text (if any)
- Tidied up generation of SQL query for classifieds
- Cleaned up generation of WHERE clauses in SQL queries for:
  popular places, land, events, and classifieds


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@174 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-11-17 22:24:28 +00:00
kcozens db93807e4e webroot/query.php
- Search event name and description for the text string from the viewer.
  (Based on a patch by Michelle Argus)
- Adjust local time to UTC when doing date based search


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@173 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-11-17 03:44:15 +00:00
kcozens 3bd3b6f1db OpenSimSearch/Modules/SearchModule/OpenSearch.cs
- Use enum value instead of hard-coded number for land sales

webroot/sql/ossearch.sql
- Changed dateUTC and covercharge fields in events table.

webroot/sql/update-events-classifieds.sql
webroot/sql/update-hostregister.sql
webroot/sql/update-parcelsales.sql - Deleted these files

webroot/sql/ossearch-migrations.sql
- Added this file which lists all search database migrations organized by
  SVN version. This makes it much easier to see what has changed from one
  version of code to the next.

webroot/query.php
- Search by date now works when looking for current and upcoming events, or
  when searching for dates on a given day.
- Provide a default value for category when returning event info to avoid a
  PHP error about use of uninitialized variable.

README
- Added comments about event listings and events database table.


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@172 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-11-16 22:31:41 +00:00
kcozens 1c4793a9dd Minor formatting and whitespace changes.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@171 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-11-12 06:27:22 +00:00
kcozens 9dc245c528 Removed two obsolete variables.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@170 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-11-12 06:20:07 +00:00
kcozens 18117983d2 Fixed generation of SQL queries for events and classifieds.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@169 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-11-12 06:09:37 +00:00
kcozens 364e9869eb Replaced deprecated (as of PHP 5.3.0) function mysql_escape_string with
mysql_real_escape_string.


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@168 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-10-28 16:05:33 +00:00
kcozens be52792f0c Changed "<?" to "<?php" for those not set to use short tags.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@167 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2011-10-28 15:57:08 +00:00
kcozens 042c15fb16 OpenSimSearch/Modules/SearchModule/OpenSearch.cs
- Don't report no data for classified as we might be creating a new ad
- In MapItemRequest(), get out of foreach once we find a match to the
  parcel uuid as only one X/Y location is added for each parcel.
- Added the '*256' multiplier to the X/Y parcel location that was missing
  from the previous commit. This allows $ icons appear on the map for land
  sales. NOTE: This only seems to work when 0.6.9 is running standalone.


git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@165 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2010-10-31 21:21:12 +00:00
fly-man- 04818e2fba + Wiredux 0.7 Event handling update part 2
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@164 109abde3-1f22-4c10-b5d7-b6b0135cd00c
2010-10-28 14:45:01 +00:00