
* JsonReaderError.aspx: display a nice json conversion error * CalendarEntryList.cs: new Google data for the calendar entries * JsonReaderError.cs: Json error model * README.md: Documentation url * NpgsqlBlogProvider.cs: Update the blog post title * BlogsController.cs: - Updating the blog post title - bug fix rendering the avatar * FrontOfficeController.cs: - the client cannot modify its estimation * GoogleController.cs: - implementing the calendar entries retrieval * HomeController.cs: - the home start page from configuration parameter named "StartPage" * Global.asax.cs: - back to a clean global.asax * style.css: showing the main area with a background transparent color * Post.aspx: Bug fix: the message was displayed two times (we keep the one from app.master) * UserPost.aspx: the blog title comes from the poster profile found in ViewData * DateQuery.aspx: implementing the date query * Web.config: the start page now comes from Web.config * Web.csproj: the Sql db creation script should not be deployed, neither as package.config * BlogManager.cs: updating the blog post title * BlogProvider.cs: yavscModel/Blogs/BlogManager.cs * YavscModel.csproj: new cs files to compile * App.master: returning from the Google login
34 lines
1.5 KiB
C#
34 lines
1.5 KiB
C#
using System;
|
|
using System.Configuration;
|
|
using System.Configuration.Provider;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Yavsc.Model.Blogs
|
|
{
|
|
public abstract class BlogProvider: ProviderBase
|
|
{
|
|
public abstract BlogEntry GetPost (long postid);
|
|
public abstract BlogEntry GetPost (string username, string title);
|
|
public abstract long GetPostId (string username, string title);
|
|
|
|
public abstract long Post (string username, string title, string content, bool visible);
|
|
public abstract void UpdatePost (long postid, string title, string content, bool visible);
|
|
public abstract BlogEntryCollection FindPost (string pattern, FindBlogEntryFlags searchflags,
|
|
int pageIndex, int pageSize, out int totalRecords);
|
|
public abstract void RemovePost (string username, string title);
|
|
public abstract void RemovePost (long postid);
|
|
public abstract long RemoveComment (long cmtid);
|
|
public abstract BlogEntryCollection LastPosts(int pageIndex, int pageSize, out int totalRecords);
|
|
public abstract string BlogTitle (string username);
|
|
public abstract long Comment (string from, long postid, string content);
|
|
public abstract Comment[] GetComments (long postid, bool getHidden) ;
|
|
public abstract bool AutoValidateComment { get; set; }
|
|
public abstract void ValidateComment (long cmtid);
|
|
public abstract void UpdateComment (long cmtid, string content, bool visible);
|
|
public abstract long Tag (long postid,string tag);
|
|
public abstract void RemoveTag (long tagid);
|
|
}
|
|
|
|
}
|
|
|