150 Commits
Author SHA1 Message Date
Kevin Cozens 4f8320d3fe Fixed handling of maturity flags when saving or updating classified ads.
The code now handles the flags correct when dealing with old viewers
that use the legacy PG and Mature bits, or that don't set the PG bit.
2021-01-31 15:38:33 -05:00
Kevin Cozens 00db0cf818 Eliminated a compiler warning about duplicate Assembly. 2020-12-01 19:31:36 -05:00
Kevin Cozens 223684484a Added quotes around ProfileURL. 2019-01-08 16:39:58 -05:00
Kevin Cozens 63947093a4 Trivial formatting changes. 2019-01-05 14:31:22 -05:00
Kevin Cozens 6fa3828b85 Two changes to avatar_properties_request() function.
Set $result when no user profile exists and use ? in INSERT
as only one bound parameter is being used in query.
2019-01-04 20:08:08 -05:00
Kevin Cozens d9ceadf297 Fixed typo in field name in query for classifieds. 2019-01-04 20:07:32 -05:00
Kevin Cozens f7ad4f4f4a Only need two items from database table in avatarclassifiedsrequest(). 2019-01-02 16:07:07 -05:00
Kevin Cozens 3a1bc9551a When updating a pick also update the location (in mysqli PHP file). 2019-01-02 15:58:48 -05:00
Kevin Cozens f0b7bb70b0 When updating a pick also update the location. 2019-01-01 16:32:24 -05:00
Kevin Cozens e8116c52f8 Fixed errors when compiled using msbuild and some whitespace changes. 2018-11-13 13:49:50 -05:00
Kevin Cozens 3f33995ad9 Require .NET 4.6 and updated pre-compiled binary.
Pre-compiled binary was built under Linux using the 5.12 version of mono.
2018-07-13 22:06:51 -04:00
Kevin Cozens 56cab710f6 Updated the pre-compiled DLL 2018-04-18 14:32:01 -04:00
Kevin Cozens 229fe75d74 Untested fix for point 5 of issue #9, and possible bug when requesting notes. 2017-12-05 13:38:26 -05:00
Kevin Cozens a56e712246 Fixed issues with initial creation, and updating, of profile and profile picks
Fixes issue #11 and #12.
2017-12-05 12:39:36 -05:00
Kevin Cozens 6ff5f14dc2 Removed a commented debug statement left in by mistake. 2017-12-03 18:31:52 -05:00
Kevin Cozens 1be49d969a Return the error message held in the array returned by errorInfo(). 2017-12-03 18:30:06 -05:00
Kevin Cozens bad6d1386e Return proper success status and error message for operations that might fail. 2017-12-03 15:24:36 -05:00
Kevin Cozens 1cf9d7d94d Updated prebuild.xml to fix VS2015 build errors. Ordered Reference lines. 2017-05-11 23:50:54 -04:00
Kevin Cozens da1f89eec4 Fixed a variable name and a bad SQL statement in picks_update()
Also removed debug statement left in by mistake.
2017-04-17 12:47:35 -04:00
Kevin Cozens 1fcb618dd2 Updated the pre-compiled DLL 2017-04-17 10:02:03 -04:00
Kevin Cozens 931ee20575 Close the database connection by destroyng the $db object 2017-04-17 10:01:13 -04:00
Kevin Cozens 184beff1dd Converted profile.php to use PDO as mysql_*() calls were removed in PHP 7. 2017-04-16 11:42:04 -04:00
Kevin Cozens 4519f0afd2 Updated profile_mysqli.php to keep it more in sync with the profile.php file.
Use databaseinfo.php file. Escape parcelname in classified_update. Open
(and close) database in one place. Use global $link to open database.

One user really wanted a version using mysqli so this file was not deleted.
This file is obsolete with the update of profile.php to use PDO so it may
not be kept up-to-date or be as fully tested as the main profile.php file.
2017-04-16 11:41:04 -04:00
Kevin Cozens 99e61cb72b Added enabled check in RegionLoaded. Unhook event handler in RemoveRegion.
Fixes issue #6.
2017-04-16 11:03:38 -04:00
Kevin Cozens cf7058ab1d Updated to include a note that support for XMLRPC is required. 2017-04-15 13:22:08 -04:00
Kevin Cozens 602fd99187 Change improperly named isNPC to be IsNPC as a property should be uppercase 2017-01-07 16:16:27 -05:00
Kevin Cozens 6a0253dc90 Show online in profile if target is in same region 2016-12-15 17:57:33 -05:00
Kevin Cozens 7c7b261d18 Removed FindPresence() call in GetProfileData() as it is not needed 2016-12-15 17:57:19 -05:00
Kevin Cozens 22388ff8ab Bumped version number to 0.6 and updated the pre-compiled DLL 2016-12-14 18:33:46 -05:00
Kevin Cozens 35098fa4ed Return profile image for NPC set by osNpcSetProfileImage() 2016-12-14 00:08:54 -05:00
Kevin Cozens 7693e669d6 Set actual date of creation in the profile of an NPC 2016-12-13 17:19:42 -05:00
Kevin Cozens 458f4c1edc Rename charterMember to membershipType to reflects its actual meaning 2016-12-13 17:11:05 -05:00
Kevin Cozens 0e67921597 Bumped version number to "0.5". 2016-12-09 21:14:47 -05:00
Kevin Cozens b7c3034857 Updated DLL for use with current git master version of 0penSim (0.9.x) 2016-12-07 21:59:16 -05:00
Kevin Cozens 0b35abce64 Handle profile requests for NPCs. 2016-12-07 15:06:59 -05:00
Kevin Cozens 5514dfa23a Fixed capitalization (string.Empty -> String.Empty) 2016-12-07 15:06:56 -05:00
Kevin Cozens 2149707864 Whitespace changes. 2016-12-07 15:06:48 -05:00
kcozens 78415227d1 Updated DLL for use with 0penSim 0.8.1-post-fixes.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@132 19860011-0018-435d-96ae-4a7b0aaa3128
2015-06-01 16:11:57 +00:00
kcozens 82904f8cf6 Changed name to avoid possible confusion with core modules of Open Simulator.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@131 19860011-0018-435d-96ae-4a7b0aaa3128
2015-06-01 03:25:19 +00:00
kcozens ac19665f24 Updated/added assembly statements required by OpenSimulator 0.8.1-post-fixes.
Bumped version number to "0.4".


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@130 19860011-0018-435d-96ae-4a7b0aaa3128
2015-06-01 03:23:18 +00:00
kcozens eca8ee7225 Updated SQL file to create tables using UTF-8 charset and collation.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@128 19860011-0018-435d-96ae-4a7b0aaa3128
2014-02-28 23:59:32 +00:00
kcozens 64d0faf4cd Updated DLL for use with 0penSim 0.7.6-post-fixes.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@127 19860011-0018-435d-96ae-4a7b0aaa3128
2013-12-02 19:30:37 +00:00
kcozens be2f5bba8b 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/osprofile/trunk@125 19860011-0018-435d-96ae-4a7b0aaa3128
2013-11-16 04:46:17 +00:00
kcozens 605da3aa2e Updated the pre-compiled DLL.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@124 19860011-0018-435d-96ae-4a7b0aaa3128
2013-10-15 19:38:18 +00:00
kcozens 674541beaf Prevent SQL injection by escaping parcel name when dealing with classifieds.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@123 19860011-0018-435d-96ae-4a7b0aaa3128
2013-09-12 22:33:00 +00:00
kcozens df84c73383 Prevent an exception if the originalname field of a pick is empty or missing.
Include the name of the classified ad when applying the classified ad fee.
Changed assembly name and bumped version. Fixed grammer of "ready" message.


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@121 19860011-0018-435d-96ae-4a7b0aaa3128
2013-07-08 18:14:07 +00:00
kcozens e4f63ad4a5 Update for git master (0.7.6). Last parameter of ApplyCharge is now an enum.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@119 19860011-0018-435d-96ae-4a7b0aaa3128
2013-07-02 17:41:09 +00:00
kcozens 53e3e9bec9 Apply classified ad fee and not group fee (cut and paste error). Updated DLL.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@117 19860011-0018-435d-96ae-4a7b0aaa3128
2013-06-30 19:22:13 +00:00
kcozens 737d27bd51 Updated PHP files to return whether classified was created or updated.
Apply fee when creating a classified ad.


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@116 19860011-0018-435d-96ae-4a7b0aaa3128
2013-06-30 17:57:15 +00:00
kcozens ccb340d9a4 Removed comment from README that stated Module setting was optional.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@115 19860011-0018-435d-96ae-4a7b0aaa3128
2013-06-30 17:52:48 +00:00