* cldr.js:
* Web.config: * ListItem.cs: * styles.json: * globalize.js: * event.js: * Auth.aspx: * Book.aspx: * Login.aspx: * jquery-2.1.4.js: * map-load.gif: * Book.aspx: * Circle.cs: * Auth.aspx: * mapstyle.css: * date.js: * Login.aspx: * mdd_help.htm: * BlogHelper.cs: * fit-bounds.png: * unresolved.js: * jquery-2.1.4.min.js: * mapstyle-ie.css: * FreeDate.cs: * BookEdit.cs: * number.js: * BlogManager.cs: * plural.js: * jquery-2.1.4.min.map: * jquery.googlemaps.js: * supplemental.js: * BlogProvider.cs: * mapstyle.min.css: * pin-pink.png: * message.js: * ChooseADate.aspx: * pin-azure.png: * currency.js: * jquery-2.1.4-vsdoc.js: * pin-green.png: * MarkdownDeepLib.min.js: * flag-azure.png: * flag-green.png: * needle-pink.png: * ChooseADate.aspx: * niddle-green.png: * ChooseCalendar.aspx: * current-location.png: * jquery.googlemaps.min.js: * ErrorMessage.aspx: * ChooseCalendar.aspx: * relative-time.js: * GoogleErrorMessage.aspx: * popup-template-marker.html: * popup-template-circle.html: * popup-template-polygon.html: * popup-template-polyline.html: * popup-template-rectangle.html: * Web.csproj: * YavscModel.csproj: * YavscClient.csproj: * fortune.csproj: * WebControls.csproj: * SalesCatalog.csproj: * ITContentProvider.csproj: * NpgsqlMRPProviders.csproj: * NpgsqlBlogProvider.csproj: * NpgsqlContentProvider.csproj: Moves to Mono framework * NpgsqlCircleProvider.cs: Makes Circles private, or not * OAuth2.cs: * CircleController.cs: * AccountController.cs: * NpgsqlContentProvider.cs: Impacts htmldoc * NpgsqlMembershipProvider.cs: Makes possible to change the UserName * NpgsqlRoleProvider.cs: Drops this SQL code, which is actually maintained in Web/instdbws.sql * PeopleApi.cs: * GoogleController.cs: * PaypalController.cs: Refactoring * Global.asax.cs: Dropped an useless url mapping * MarkdownHelper.cs: Package update * App.master: * NoLogin.master: Site's favicon update * Circles.aspx: TO BE FIXED :-D * UserPost.aspx: Comment only when logged in * instdbws.sql: Circle public * packages.config: package update
This commit is contained in:
parent
cb2d9c5813
commit
87edbaffe5
91 changed files with 496 additions and 26262 deletions
|
|
@ -29,6 +29,9 @@ using System.Collections.Specialized;
|
|||
|
||||
namespace Yavsc.ApiControllers
|
||||
{
|
||||
/// <summary>
|
||||
/// Account controller.
|
||||
/// </summary>
|
||||
public class AccountController : ApiController
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -29,9 +29,25 @@ using Yavsc.Model;
|
|||
|
||||
namespace Yavsc.ApiControllers
|
||||
{
|
||||
/// <summary>
|
||||
/// New circle.
|
||||
/// </summary>
|
||||
public class NewCircle {
|
||||
/// <summary>
|
||||
/// Gets or sets the title.
|
||||
/// </summary>
|
||||
/// <value>The title.</value>
|
||||
public string title { get ; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the users.
|
||||
/// </summary>
|
||||
/// <value>The users.</value>
|
||||
public string [] users { get ; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this <see cref="Yavsc.ApiControllers.NewCircle"/> is private.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if is private; otherwise, <c>false</c>.</value>
|
||||
public bool isPrivate { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -39,11 +55,11 @@ namespace Yavsc.ApiControllers
|
|||
/// </summary>
|
||||
public class CircleController : ApiController
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Creates the specified circle using the given title and user list.
|
||||
/// Create the specified circle.
|
||||
/// </summary>
|
||||
/// <param name="title">Identifier.</param>
|
||||
/// <param name="users">Users.</param>
|
||||
/// <param name="model">Model.</param>
|
||||
[Authorize]
|
||||
public long Create(NewCircle model)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ namespace Yavsc.ApiControllers
|
|||
/// <summary>
|
||||
/// Paypal API controller.
|
||||
/// </summary>
|
||||
public class PaypalApiController: ApiController
|
||||
public class PaypalController: ApiController
|
||||
{
|
||||
PayPalAPIInterfaceServiceService service = null;
|
||||
/// <summary>
|
||||
|
|
@ -60,7 +60,10 @@ namespace Yavsc.ApiControllers
|
|||
BMCreateButtonResponseType btcrere = service.BMCreateButton (btcrerq);
|
||||
return btcrere;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Search the specified str.
|
||||
/// </summary>
|
||||
/// <param name="str">String.</param>
|
||||
public BMButtonSearchResponseType Search(string str)
|
||||
{
|
||||
BMButtonSearchReq req = new BMButtonSearchReq ();
|
||||
Loading…
Add table
Add a link
Reference in a new issue