Fixed dir_events_query in PHP file: always get current time in UTC, simplified
timezone handling, and include in-progress events when passed "u" for day number.
Updated pre-built OpenSimSearch.dll file.
events that are still in progress but started in a previous day. Updated README
about event date, duration, and landing point format. Updated pre-compiled DLL.
git-svn-id: http://forge.opensimulator.org/svn/ossearch/trunk@216 109abde3-1f22-4c10-b5d7-b6b0135cd00c
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
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
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
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
(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
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
- 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
- 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
- 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
- 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
- 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