Commit Graph
105 Commits
Author SHA1 Message Date
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
kcozens dfbea89d1c Prevent an exception if the name field of a pick is empty or missing.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@114 19860011-0018-435d-96ae-4a7b0aaa3128
2013-06-30 07:37:16 +00:00
kcozens 424f3a5f01 Eliminated compiler warnings.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@113 19860011-0018-435d-96ae-4a7b0aaa3128
2013-06-30 06:13:58 +00:00
kcozens e120aa49fc Combined the update SQL files in to one migrations file.
Updated the upgrade instructions in the README file.


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@112 19860011-0018-435d-96ae-4a7b0aaa3128
2013-06-23 15:47:11 +00:00
kcozens 20de7a5a7c Added README file with compile, install, and configuration information.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@111 19860011-0018-435d-96ae-4a7b0aaa3128
2013-06-23 03:18:19 +00:00
kcozens 8c3fdeb3ec Bumped module version. Added check of profile module name. Added FIXME note.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@110 19860011-0018-435d-96ae-4a7b0aaa3128
2013-06-23 00:56:50 +00:00
melanie 5e55e4bcd6 Add the mysqli version of the profile php, Thanks, RiRa!
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@109 19860011-0018-435d-96ae-4a7b0aaa3128
2013-04-04 22:54:28 +00:00
kcozens 66febed3a2 Use of $HTTP_RAW_POST_DATA is deprecated. Get data from php://input instead.
(Fixes Forge bug #444)


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@108 19860011-0018-435d-96ae-4a7b0aaa3128
2012-12-24 18:47:50 +00:00
kcozens 461714a782 Fixed classified ads "renew weekly" flag test. Was operator precedence issue.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@107 19860011-0018-435d-96ae-4a7b0aaa3128
2012-12-18 23:00:40 +00:00
kcozens cd47a06d9a Make sure that bit 2 is set in classifiedflag field for PG rated classifieds.
This bit needs to be set or the ossearch module won't be able to find PG ads.


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@106 19860011-0018-435d-96ae-4a7b0aaa3128
2012-07-02 17:59:38 +00:00
kcozens 4cbe71b1ff Added comment to document the "Renew Weekly" flag used for classified ads.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@105 19860011-0018-435d-96ae-4a7b0aaa3128
2012-07-01 02:51:50 +00:00
bluewall d8b29fba3f Updated binaries
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@104 19860011-0018-435d-96ae-4a7b0aaa3128
2012-02-29 02:33:04 +00:00
bluewall 4ad9ab633c Add a check and some debug logging for cases where a request for
profiles using  UUID.Zero for the agentID


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@103 19860011-0018-435d-96ae-4a7b0aaa3128
2012-02-29 02:31:23 +00:00
kcozens 463bf25faf Changes for classified ads: Fixed updating and getting/saving parcel name.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@102 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-17 20:17:39 +00:00
bluewall 17121d258e Fix issue: null references when looking up friend on home grid (not HG
friend)


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@100 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-15 23:51:46 +00:00
bluewall 19e06216ad Make module play nice with older installations
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@99 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-15 04:22:22 +00:00
bluewall f6f9b3e623 Some bug fixes, updated dll as well.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@98 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-15 00:53:42 +00:00
bluewall 9a8907e0e4 Update needed ini configuration examples
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@97 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-14 16:05:30 +00:00
kcozens 03b1ca3bca Re-applied the whitespace and formatting changes from revision 92 that were
lost in the commit of revision 93.

NOTE: Changes in revisions 93, 94, and 95 originated with the file attached
to patch #440 in Forge.


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@96 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-14 03:48:20 +00:00
bluewall 5057853909 Updated dll
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@95 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-14 03:21:27 +00:00
bluewall 7fc1244957 update prebuild.xml
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@94 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-14 02:35:10 +00:00
bluewall c8f4583d17 Moving some functions from core for HG user info
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@93 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-14 02:31:59 +00:00
kcozens 735ada00fd Whitespace and formatting changes.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@92 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-14 02:08:08 +00:00
kcozens c5dc100c38 Applied patch (#438) from BlueWall Slade to fix indentation issues.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@91 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-12 20:19:06 +00:00
kcozens 767cc68da2 Applied patch from BlueWall Slade which adds support for HG enabled grids.
The changes in this commit and the previous one are from the hg-profile.patch
file attached to patch #436 in Forge.


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@90 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-06 05:38:10 +00:00
kcozens 12db0acc1b Updated to use the new module loading method.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@89 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-06 04:00:02 +00:00
kcozens 331dacbf11 Applied corrected patch from BlueWall Slade that updates prebuild.xml to
newer build system. (See bug #434)


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@88 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-03 22:18:13 +00:00
kcozens 63141657f2 Reverted r85 commit. Wrong file had been attached to bug report.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@87 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-03 21:16:01 +00:00
kcozens bba5127f35 Fixed line endings in OpenSimProfile/Modules/ProfileModule/OpenProfile.cs
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@86 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-03 20:43:39 +00:00
kcozens c0269f90b1 Applied BlueWall Slade's patch to update prebuild.xml to newer build system.
(See bug #434)


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@85 19860011-0018-435d-96ae-4a7b0aaa3128
2012-01-03 20:11:05 +00:00
kcozens ff842ef4d7 Stripped carriage returns from line endings.
Set SVN properties on PHP and SQL files.


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@84 19860011-0018-435d-96ae-4a7b0aaa3128
2011-11-30 02:56:41 +00:00
kcozens fab036058b 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/osprofile/trunk@83 19860011-0018-435d-96ae-4a7b0aaa3128
2011-10-28 16:15:19 +00:00
kcozens cb92a4a28b Changed "<?" to "<?php" for those not set to use short tags.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@82 19860011-0018-435d-96ae-4a7b0aaa3128
2011-10-28 16:11:59 +00:00
kcozens 0a83733f9a Updated pre-compiled DLL using a copy of the file used in osgrid.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@81 19860011-0018-435d-96ae-4a7b0aaa3128
2011-04-28 06:30:14 +00:00
kcozens d64f325179 OpenSimProfile/Modules/ProfileModule/OpenProfile.cs
- Use targetid returned in results from XML RPC query when getting notes.
(This was included in the changes of revision 79 in opensim-069 branch)


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@80 19860011-0018-435d-96ae-4a7b0aaa3128
2010-10-10 19:07:08 +00:00
kcozens 05700c96cd webroot/sql/update-usernotes.sql
- Forgot to drop old primary key when addding unique key

webroot/profile.php
- Avatar and target UUID's were in wrong order when getting notes
- Return real success/failure status when updating notes

OpenSimProfile/Modules/ProfileModule/OpenProfile.cs
- Return with target UUID in data block and not ones own UUID


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@78 19860011-0018-435d-96ae-4a7b0aaa3128
2010-10-08 17:54:15 +00:00
kcozens f62bae9699 OpenSimProfile/Modules/ProfileModule/OpenProfile.cs
- In RequestAvatarProperties() get the target avatars data and not ones own.


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@77 19860011-0018-435d-96ae-4a7b0aaa3128
2010-10-08 07:39:00 +00:00
kcozens 5b8d2a99cc webroot/profile.php
- Create usersettings record if none exists on user_preferences_request
- Changed capitalization on boolean constants

OpenSimProfile/Modules/ProfileModule/OpenProfile.cs
- Check for null for email value after receiving user preferences


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@75 19860011-0018-435d-96ae-4a7b0aaa3128
2010-10-08 03:48:34 +00:00
kcozens 4082846eaa OpenSimProfile/Modules/ProfileModule/OpenProfile.cs:
- Check for null from GetScenePresence() before using one of its member items
(Spotted by RevolutionSmythe)


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@73 19860011-0018-435d-96ae-4a7b0aaa3128
2010-10-08 00:12:20 +00:00
kcozens de7fc2a54b OpenSimProfile/Modules/ProfileModule/OpenProfile.cs:
- Check if notes hash is null when notes data was requested by viewer.
  This fixes the notes profile tab in viewer.


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@72 19860011-0018-435d-96ae-4a7b0aaa3128
2010-10-07 19:30:52 +00:00
kcozens 1d201394b8 webroot/profile.php:
- Return all the expected values when requesting avatar properties
- Removed a line used during debugging that was left in by mistake


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@71 19860011-0018-435d-96ae-4a7b0aaa3128
2010-10-07 16:03:43 +00:00
kcozens 386090598f Save updated properties data received from viewer to the database.
The user flags are not being saved and there are still problems with
retrieving some of the avatar properties data (images/about text/partner).


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@70 19860011-0018-435d-96ae-4a7b0aaa3128
2010-10-07 06:27:21 +00:00
kcozens 6ef2136b5b webroot/sql/osprofile.sql
- Added profileImage and profileAboutText to userprofile table.

webroot/sql/update-userprofile.sql
- Added

webroot/profile.php
- Updated SQL that inserts in userprofile table due to addition of columns

OpenSimProfile/Modules/ProfileModule/OpenProfile.cs
- Send interest data expected by viewer when requesting avatar properties

Interests and profile picks work. Retrieves profile URL but can't update it.


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@69 19860011-0018-435d-96ae-4a7b0aaa3128
2010-10-06 16:39:48 +00:00
kcozens 7109ae4d57 webroot/profile.php:
- Added $zeroUUID to avoid repeating the string in several places
- Fixed creation of response packet in many functions
- Insert empty profile record on properties request of non-existant record
- Return interest data along with properties data as expected by viewer
- Fixed updating of the interest data in user profile
- Fixed support for notes tab in profile

There are still problems with Picks and Classifieds profile operations.
(Forward port from r62 of opensim-069 branch)


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@68 19860011-0018-435d-96ae-4a7b0aaa3128
2010-10-06 02:30:01 +00:00
kcozens 7ed3b96267 webroot/profile.php:
- Added $zeroUUID to avoid repeating the string in several places
- Fixed creation of response packet in many functions
- Insert empty profile record on properties request of non-existant record
- Return interest data along with properties data as expected by viewer
- Fixed updating of the interest data in user profile
- Fixed support for notes tab in profile

There are still problems with Picks and Classifieds profile operations.


git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@67 19860011-0018-435d-96ae-4a7b0aaa3128
2010-10-06 02:25:35 +00:00
kcozens b95899ba8c Forgot commit of this file deletion as part of r64.
git-svn-id: http://forge.opensimulator.org/svn/osprofile/trunk@66 19860011-0018-435d-96ae-4a7b0aaa3128
2010-10-06 02:13:36 +00:00