Coder Social home page Coder Social logo

dnncommunity / dnn.wiki Goto Github PK

View Code? Open in Web Editor NEW
15.0 20.0 9.0 2.49 MB

DNN Wiki is a module that combines a wiki engine with your favourite html editor

License: MIT License

C# 92.56% ASP 5.64% CSS 0.38% HTML 1.41%
dnn-core-module dnn dnn-wiki wiki-engine wiki dotnetnuke dnnplatform hacktoberfest dnncms

dnn.wiki's Issues

Add GitHub Release Notes to Build

Is your feature request related to a problem?

Build task, question not applicable

Describe the solution you'd like

We need to add automated GitHub Release Notes to the build for when code is merged to master

Add issue templates

We need to add issue templates to be consistent with the other DNN Community repos.

wiki notifications

I think that notifications are not working or possibly I am misunderstanding how to set them up.

I turned on notifications for a group I am a member of but I don't see a "subscribe" or "notify" button showing up and when I create new content I do not see a notification come through.

PCI Compliance Issues

A PCI scan of my website identified injection attack issues with the Wiki module.

I did some testing and was able to execute some javascript code on a Wiki page in one of two ways:

  1. By putting the script in the query string (i.e., wiki?topic=<script type="text/javascript">alert('hi');</script>

  2. By putting the script in a Wiki comment

Are there any plans to resolve these issues?

how to instal

hi
there is no install file in files
how i can instal wiki in dnn 9
tnx

Build script not working

Describe the bug

The build script is looking for the msbuild.community.tasks.dll in the build folder instead of the nuget packages folder

To Reproduce

Steps to reproduce the behavior:

  1. Try to build in release mode
  2. The build fails because the system is unable to located the file in the build directory

Expected behavior

It should use the downloaded nuget package instead

Error log

Severity	Code	Description	Project	File	Line	Suppression State
Error		The "MSBuild.Community.Tasks.XmlRead" task could not be loaded from the assembly C:\Users\Daniel Valadas\Source\Repos\DNN.Wiki\BuildScripts\MSBuild.Community.Tasks.dll. Could not load file or assembly 'file:///C:\Users\Daniel Valadas\Source\Repos\DNN.Wiki\BuildScripts\MSBuild.Community.Tasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.	DotNetNuke.Wiki			

Configure CI

Describe the solution you'd like

Add a simple CI solution for DNN.Wiki which will be the template for other modules to follow

missing RatingBar.ascx?

When someone leaves a rating, the rating is displayed at the top of the wiki page..

except that it displays a broken image link:
image

It seems to be looking for:

<img src="/DesktopModules/Wiki/Views/RatingBar.aspx?rating=3" id="dnn_ctr422_Router_Start_m_pageRating_RatingBar" alt="3">

Is RatingBar.aspx a missing file?

Add Support for Table Classes

Description

Styling tables is kind of a pain with this module unless you write all the css yourself. With today's web ecosystem relying on platforms such as Foundation, Bootstrap, etc. I think it would be useful to set custom styles for all module tables. This will allow people to make pretty tables relatively easy without having to write much custom css and leverage their existing css that is already loaded in their theme.

Describe the solution you'd like

I think we should create a module property that allows someone to plug in the custom css tables they would like used. Then when the module calls the create table code in the WikiModuleBase.cs:558 - CreateTable() we could read the module setting and plug it into the table creation logic. This should then take effect across the module.

Displaying empty body for imported not-empty wiki topics

Describe the bug

Importing topics to the wiki module, successfully replaced current topics with the new ones and it shows the list of all topics when clicking on the link (Show All Pages); but clicking on any imported topic, the module doesn't display its content. It needs one time opening of each topic and do updating it without the need to modify it.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'wiki module menu'
  2. Click on 'Import'
  3. Follow the procedure of importing new Wiki topics
  4. See error: No content for the home page, also click on (Show All Pages) to display all topics, then click on some topics

Expected behavior

Showing content of new topics.

Screenshots

If applicable, add screenshots to help explain your problem.

Error log

Note: Debug DLL's
There is no error message!

Additional context

Opening a topic in Edit-mode, clicking on Update (no modifications needed) will fix the problem. It seems the problem relates to Cache field which is NULL after importing the topics.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.