{article.title}
\n\n \n {article.author} wrote this on {date} /{\" \"}\n \n {article.commentsCount} comment\n {article.commentsCount === 1 ? \"\" : \"s\"}\n \n \n
\n{article.content}
\n\n Review\n
\n{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./test/dummy/frontend/js/initializers/rails.js","webpack:///./test/dummy/frontend/js/views/shared/Flash.js","webpack:///./test/dummy/frontend/js/controllers/concerns/Disconnection.js","webpack:///./test/dummy/frontend/js/reducers/user/comments.js","webpack:///./test/dummy/frontend/js/reducers/user/index.js","webpack:///./test/dummy/frontend/js/reducers/user/articles.js","webpack:///./test/dummy/frontend/js/stores/user.js","webpack:///./test/dummy/frontend/js/views/layouts/User.js","webpack:///./test/dummy/frontend/js/views/user/articles/Show.js","webpack:///./test/dummy/frontend/js/models/article/Comment.js","webpack:///./test/dummy/frontend/js/selectors/comments.js","webpack:///./test/dummy/frontend/js/containers/user/Comment.js","webpack:///./test/dummy/frontend/js/containers/user/CommentList.js","webpack:///./test/dummy/frontend/js/views/user/articles/Form.js","webpack:///./test/dummy/frontend/js/models/Article.js","webpack:///./test/dummy/frontend/js/components/user/Article.js","webpack:///./test/dummy/frontend/js/containers/user/ArticleList.js","webpack:///./test/dummy/frontend/js/controllers/user/Articles.js","webpack:///./test/dummy/frontend/js/models/room/Member.js","webpack:///./test/dummy/frontend/js/models/User.js","webpack:///./test/dummy/frontend/js/views/user/rooms/List.js","webpack:///./test/dummy/frontend/js/models/Room.js","webpack:///./test/dummy/frontend/js/views/user/rooms/Show.js","webpack:///./test/dummy/frontend/js/controllers/user/Rooms.js","webpack:///./test/dummy/frontend/js/controllers/User.js","webpack:///./test/dummy/frontend/js/services/NotificationCenter.js","webpack:///./test/dummy/frontend/js/reducers/admin/users.js","webpack:///./test/dummy/frontend/js/reducers/admin/index.js","webpack:///./test/dummy/frontend/js/reducers/admin/articles.js","webpack:///./test/dummy/frontend/js/stores/admin/index.js","webpack:///./test/dummy/frontend/js/reducers/main/comments.js","webpack:///./test/dummy/frontend/js/reducers/main/index.js","webpack:///./test/dummy/frontend/js/reducers/main/articles.js","webpack:///./test/dummy/frontend/js/stores/main/index.js","webpack:///./test/dummy/frontend/js/selectors/index.js","webpack:///./test/dummy/frontend/js/selectors/articles.js","webpack:///./test/dummy/frontend/js/components/admin/comment.js","webpack:///./test/dummy/frontend/js/components/admin/CommentList.js","webpack:///./test/dummy/frontend/js/views/admin/articles/Edit.js","webpack:///./test/dummy/frontend/js/views/admin/articles/Form.js","webpack:///./test/dummy/frontend/js/components/admin/Article.js","webpack:///./test/dummy/frontend/js/containers/admin/StatefulArticleList.js","webpack:///./test/dummy/frontend/js/controllers/admin/Articles.js","webpack:///./test/dummy/frontend/js/views/admin/comments/Form.js","webpack:///./test/dummy/frontend/js/controllers/admin/Comments.js","webpack:///./test/dummy/frontend/js/views/admin/sessions/Form.js","webpack:///./test/dummy/frontend/js/controllers/admin/Sessions.js","webpack:///./test/dummy/frontend/js/components/admin/User.js","webpack:///./test/dummy/frontend/js/containers/admin/StatefulUserList.js","webpack:///./test/dummy/frontend/js/views/admin/users/Show.js","webpack:///./test/dummy/frontend/js/views/admin/users/Form.js","webpack:///./test/dummy/frontend/js/controllers/admin/Users.js","webpack:///./test/dummy/frontend/js/controllers/Admin.js","webpack:///./test/dummy/frontend/js/components/main/Comment.js","webpack:///./test/dummy/frontend/js/containers/main/articles/StatefulCommentList.js","webpack:///./test/dummy/frontend/js/containers/main/articles/CommentsNumber.js","webpack:///./test/dummy/frontend/js/views/main/articles/Show.js","webpack:///./test/dummy/frontend/js/controllers/main/Articles.js","webpack:///./test/dummy/frontend/js/containers/main/pages/LoadMoreLink.js","webpack:///./test/dummy/frontend/js/components/main/Article.js","webpack:///./test/dummy/frontend/js/containers/main/pages/StatefulArticleList.js","webpack:///./test/dummy/frontend/js/controllers/main/Pages.js","webpack:///./test/dummy/frontend/js/views/main/users/UserRegistrationForm.js","webpack:///./test/dummy/frontend/js/controllers/main/Users.js","webpack:///./test/dummy/frontend/js/controllers/Main.js","webpack:///./test/dummy/frontend/js/services/Connectivity.js","webpack:///./test/dummy/frontend/js/initializers/loco.js","webpack:///./test/dummy/frontend/js/validators/Vulgarity.js","webpack:///./test/dummy/frontend/js/validators/index.js","webpack:///./test/dummy/frontend/js/locales/base/pl.js","webpack:///./test/dummy/frontend/js/locales/models/user/pl.js","webpack:///./test/dummy/frontend/js/locales/validators/en.vulgarity.js","webpack:///./test/dummy/frontend/js/locales/validators/pl.vulgarity.js","webpack:///./test/dummy/frontend/js/controllers/index.js","webpack:///./test/dummy/frontend/js/models/index.js","webpack:///./test/dummy/frontend/index.js"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","call","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","0","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","Rails","start","Flash","_this","opts","arguments","undefined","_classCallCheck","this","_possibleConstructorReturn","_getPrototypeOf","notice","alert","warning","hide","Views","Base","text","node","document","querySelector","classList","remove","add","textContent","hideAfterTime","time","setTimeout","Disconnection","disconnectedForTooLong","render","combineReducers","articles","state","action","type","concat","_toConsumableArray","payload","filter","article","id","index","comments","_objectSpread","_defineProperty","articleId","comments_toConsumableArray","comment","find","indexOf","store","createStore","reducer","User","User_classCallCheck","User_possibleConstructorReturn","User_getPrototypeOf","Show","Show_classCallCheck","Show_possibleConstructorReturn","Show_getPrototypeOf","connectWith","receiver","getElementById","title","content","publishedAt","style","display","_handlePublishing","_updateEditLink","signal","_this2","reload","then","applyChanges","renderArticle","location","href","_this3","addEventListener","e","preventDefault","target","put","outerHTML","catch","FlashView","getAttribute","setAttribute","replace","Comment","Comment_classCallCheck","Comment_possibleConstructorReturn","Comment_getPrototypeOf","Models","url","paginate","per","main","param","admin","author","validations","presence","vulgarity","remoteName","createdAt","updatedAt","emotion","pinned","adminRate","approved","commentsForArticle","_ref","approveLink","_ref$isAdmin","isAdmin","_useState2","_slicedToArray","useState","approving","setApproving","Services","Date","strftime","handleApproving","updateAttribute","res","ok","dispatch","CommentModel","Comment_objectSpread","react_default","a","createElement","Fragment","className","onClick","data-method","data-confirm","propTypes","PropTypes","instanceOf","isRequired","bool","CommentList","props","CommentList_slicedToArray","setComments","useEffect","unsubscribe","subscribe","getState","list","map","user_Comment","number","arrayOf","Form","Form_classCallCheck","Form_possibleConstructorReturn","Form_getPrototypeOf","form","changes","_handleApplyingChanges","UI","for","all","resp","resources","renderElement","user_CommentList","mark","_displayChanges","_i","_Object$entries","entries","attrib","Form_slicedToArray","sel","getAttrRemoteName","_i2","_Array$from","Array","from","querySelectorAll","attrName","getAttrName","is","fill","Article","Article_classCallCheck","Article_possibleConstructorReturn","Article_getPrototypeOf","published","exec","addErrorMessage","categoryId","adminReviewStartedAt","now","within","minimum","commentsCount","adminReview","onArticleDestroyed","confirm","delete","success","ArticleModel","func","ArticleList","ArticleList_slicedToArray","setArticles","user_Article","Articles","Controllers","layout","UserLayout","flash","setNotice","setAlert","params","message","user_ArticleList","showView","ShowView","FormView","view","renderComments","Member","Member_classCallCheck","Member_possibleConstructorReturn","Member_getPrototypeOf","models_User_classCallCheck","models_User_possibleConstructorReturn","models_User_getPrototypeOf","console","log","email","format","with","username","password","on","confirmation","passwordConfirmation","confirmed","List","List_classCallCheck","List_possibleConstructorReturn","List_getPrototypeOf","Room","_memberJoined","room_id","_memberLeft","renderedRoom","_renderRoom","room","insertAdjacentHTML","roomNode","parentNode","removeChild","roomId","_membersNode","parseInt","Room_classCallCheck","Room_possibleConstructorReturn","Room_getPrototypeOf","rooms_Show_classCallCheck","rooms_Show_possibleConstructorReturn","rooms_Show_getPrototypeOf","_handleSendingMessage","members","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","iterator","next","done","member","err","return","renderedMessage","event","keyCode","Env","loco","emit","txt","li","Rooms","setView","renderMembers","assign","NotificationCenter","_pingSignal","_messageSignal","namespaceController","constructor","UserController","_getRoomView","receivedMessage","controller","RoomsController","getView","articles_toConsumableArray","users","users_toConsumableArray","main_articles_toConsumableArray","comments_objectSpread","comments_defineProperty","main_comments_toConsumableArray","createFinder","resourceType","parentId","resource","findArticle","findComment","admin_comment","Edit","Edit_classCallCheck","Edit_possibleConstructorReturn","Edit_getPrototypeOf","_renderArticle","admin_CommentList","articles_Form_classCallCheck","articles_Form_possibleConstructorReturn","articles_Form_getPrototypeOf","setDefaultValuesForAdminReview","date","toString","ArticleListWrapper","StatefulArticleList_slicedToArray","admin_Article","StatefulArticleList","editView","comments_Form_classCallCheck","comments_Form_possibleConstructorReturn","comments_Form_getPrototypeOf","commentId","initObj","test","commentFormObj","getObj","Comments","sessions_Form_classCallCheck","sessions_Form_possibleConstructorReturn","sessions_Form_getPrototypeOf","delegator","callbackSuccess","Sessions","user","userId","user_id","ping","UserModel","UserListWrapper","StatefulUserList_slicedToArray","setUsers","admin_User","users_Show_classCallCheck","users_Show_possibleConstructorReturn","users_Show_getPrototypeOf","editLink","users_Form_classCallCheck","users_Form_possibleConstructorReturn","users_Form_getPrototypeOf","Users","StatefulUserList","Admin","setScope","StatefulCommentList","StatefulCommentList_slicedToArray","main_Comment","CommentsNumber","CommentsNumber_slicedToArray","articles_Show_classCallCheck","articles_Show_possibleConstructorReturn","articles_Show_getPrototypeOf","newComment","dateService","textEl","innerHTML","Helpers","Text","simpleFormat","total","React","LoadMoreLink","LoadMoreLink_slicedToArray","page","setPage","_useState4","noMorePosts","setNoMorePosts","handleClick","currentPage","pages_StatefulArticleList_slicedToArray","main_Article","Pages","pages_StatefulArticleList","UserRegistrationForm","UserRegistrationForm_classCallCheck","UserRegistrationForm_possibleConstructorReturn","UserRegistrationForm_getPrototypeOf","_confirming","_confirmed","Main","commentsChanged","_ref4","diff","article_id","mainStore","AdminController","adminStore","userStore","_findArticle4","Connectivity_slicedToArray","Connectivity_objectSpread","Connectivity","Connectivity_classCallCheck","Connectivity_possibleConstructorReturn","Connectivity_getPrototypeOf","abbr","_ref2","articlePublished","_ref3","findParams","_findArticle2","articleUpdated","_ref5","MainController","commentCreated","_ref6","commentDestroyed","_ref7","_findComment2","commentUpdated","Deps","cable","createConsumer","connectivity","Loco","notifications","enable","size","postInit","getWire","setPollingTime","init","Vulgarity","Vulgarity_classCallCheck","Vulgarity_possibleConstructorReturn","Vulgarity_getPrototypeOf","Validators","val","Vulgarity_typeof","vulgarWord","_getVulgarWord","RegExp","_addErrorMessage","TypeError","attr","I18n","getLocale","errors","messages","obj","pl","variants","few","num","Utils","String","last","models","attributes","ui","sending","connection","invalid_data","formats","default","short","long","day_names","abbr_day_names","month_names","abbr_month_names","accepted","blank","empty","equal_to","even","exclusion","greater_than","greater_than_or_equal_to","inclusion","invalid","less_than","less_than_or_equal_to","not_a_number","not_an_integer","odd","present","too_long","many","one","other","too_short","wrong_length","other_than","en","Channels"],"mappings":"aACA,SAAAA,EAAAC,GAQA,IAPA,IAMAC,EAAAC,EANAC,EAAAH,EAAA,GACAI,EAAAJ,EAAA,GACAK,EAAAL,EAAA,GAIAM,EAAA,EAAAC,EAAA,GACQD,EAAAH,EAAAK,OAAoBF,IAC5BJ,EAAAC,EAAAG,GACAG,EAAAP,IACAK,EAAAG,KAAAD,EAAAP,GAAA,IAEAO,EAAAP,GAAA,EAEA,IAAAD,KAAAG,EACAO,OAAAC,UAAAC,eAAAC,KAAAV,EAAAH,KACAc,EAAAd,GAAAG,EAAAH,IAKA,IAFAe,KAAAhB,GAEAO,EAAAC,QACAD,EAAAU,OAAAV,GAOA,OAHAW,EAAAR,KAAAS,MAAAD,EAAAb,GAAA,IAGAe,IAEA,SAAAA,IAEA,IADA,IAAAC,EACAf,EAAA,EAAiBA,EAAAY,EAAAV,OAA4BF,IAAA,CAG7C,IAFA,IAAAgB,EAAAJ,EAAAZ,GACAiB,GAA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GAAG/C,OAAOC,SAAS5W,UAAY,4BCApCyW,OAAKK,GAAGH,OAAOC,SAAS5W,UAAY,uBCIpC7J,OAAO4V,OAAOhF,cAAa,CACzB4J,SACAsC,QACArW,UCDFzG,OAAO4V,OAAOzG,GAAS,CAAEpG,YACzB/I,OAAO4V,OAAO5C,GAAM,CAAEtB,YAEtB1R,OAAO4V,OAAOzM,SAAQ,CACpBgG,WACA6D,QACAvM,UCFFzD,OAAO4V,KAAO,CACZ4K,oBACApO","file":"application.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t0: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([143,1]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import Rails from \"@rails/ujs\";\n\nRails.start();\n","import { Views } from \"loco-js\";\n\nclass Flash extends Views.Base {\n constructor(opts = {}) {\n super(opts);\n this.notice = opts.notice;\n this.alert = opts.alert;\n this.warning = opts.warning;\n this.hide = opts.hide;\n }\n\n setNotice(text) {\n this.notice = text;\n }\n setAlert(text) {\n this.alert = text;\n }\n setWarning(text) {\n this.warning = text;\n }\n\n render() {\n const node = document.querySelector(\".flash\");\n node.classList.remove(\"notice\");\n node.classList.remove(\"alert\");\n node.classList.remove(\"warning\");\n if (this.notice != null) {\n node.classList.add(\"notice\");\n document.querySelector(\".flash p\").textContent = this.notice;\n } else if (this.alert != null) {\n node.classList.add(\"alert\");\n document.querySelector(\".flash p\").textContent = this.alert;\n } else if (this.warning != null) {\n node.classList.add(\"warning\");\n document.querySelector(\".flash p\").textContent = this.warning;\n }\n node.classList.remove(\"none\"); // slideDown initially\n if (this.hide) this.hideAfterTime();\n }\n\n hideAfterTime(time = 4000) {\n setTimeout(() => {\n document.querySelector(\".flash\").classList.add(\"none\"); // slideUp initially\n }, time);\n }\n}\n\nexport default Flash;\n","import Flash from \"views/shared/Flash\";\n\nconst Disconnection = {\n disconnectedForTooLong() {\n const msg =\n \"You have been disconnected from the server for too long. Reload page!\";\n const view = new Flash({ alert: msg, hide: false });\n view.render();\n }\n};\n\nexport default Disconnection;\n","export default (state = {}, action) => {\n switch (action.type) {\n case \"ADD_COMMENTS\":\n return {\n ...state,\n [action.payload.articleId]: [\n ...state[action.payload.articleId],\n ...action.payload.comments\n ]\n };\n case \"REMOVE_COMMENT\":\n if (state[action.payload.articleId] == null) return state;\n return {\n ...state,\n [action.payload.articleId]: state[action.payload.articleId].filter(\n comment => comment.id !== action.payload.id\n )\n };\n case \"SET_COMMENTS\":\n return { [action.payload.articleId]: action.payload.comments };\n case \"UPDATE_COMMENT\": {\n const articleId = action.payload.articleId;\n let index = action.payload.index;\n if (!index) {\n const comment = state[articleId].find(\n c => c.id === action.payload.comment.id\n );\n index = state[articleId].indexOf(comment);\n }\n return {\n ...state,\n [articleId]: [\n ...state[articleId].slice(0, index),\n action.payload.comment,\n ...state[articleId].slice(index + 1)\n ]\n };\n }\n default:\n return state;\n }\n};\n","import { combineReducers } from \"redux\";\n\nimport articles from \"./articles\";\nimport comments from \"./comments\";\n\nexport default combineReducers({\n articles,\n comments\n});\n","export default (state = [], action) => {\n switch (action.type) {\n case \"ADD_ARTICLES\":\n return [...state, ...action.payload.articles];\n case \"REMOVE_ARTICLE\":\n return state.filter(article => article.id !== action.payload.id);\n case \"SET_ARTICLES\":\n return [...action.payload.articles];\n case \"UPDATE_ARTICLE\":\n return [\n ...state.slice(0, action.payload.index),\n action.payload.article,\n ...state.slice(action.payload.index + 1)\n ];\n default:\n return state;\n }\n};\n","import { createStore } from \"redux\";\n\nimport reducer from \"reducers/user\";\n\nconst store = createStore(reducer, { articles: [], comments: {} });\n\nexport default store;\n","import { Views } from \"loco-js\";\n\nclass User extends Views.Base {\n constructor(opts = {}) {\n super(opts);\n }\n}\n\nexport default User;\n","import { Views } from \"loco-js\";\n\nimport FlashView from \"views/shared/Flash\";\n\nclass Show extends Views.Base {\n constructor(opts = {}) {\n super(opts);\n this.article = null;\n }\n\n renderArticle(article = null) {\n if (this.article == null) {\n this.connectWith(article, { receiver: \"articleReceivedSignal\" });\n this.article = article;\n }\n document.getElementById(\"article_title\").textContent = this.article.title;\n document.getElementById(\"article_text\").textContent = this.article.content;\n const node = document.getElementById(\"publish_article\");\n if (node && this.article.publishedAt != null) node.style.display = \"none\";\n else if (node) node.style.display = \"\";\n this._handlePublishing();\n this._updateEditLink();\n }\n\n articleReceivedSignal(signal) {\n switch (signal) {\n case \"updated\":\n this.article.reload().then(() => {\n this.article.applyChanges();\n this.renderArticle();\n });\n break;\n case \"destroyed\":\n window.location.href = \"/user/articles?message=deleted\";\n }\n }\n\n _handlePublishing() {\n document.getElementById(\"publish_article\").addEventListener(\"click\", e => {\n e.preventDefault();\n e.target.textContent = \"Publishing...\";\n this.article\n .put(\"publish\")\n .then(\n () =>\n (document.getElementById(\"publish_article\").outerHTML =\n \"Published!\")\n )\n .catch(() => {\n e.target.textContent = \"Publish\";\n const flash = new FlashView({ alert: \"Connection error!\" });\n flash.render();\n });\n });\n }\n\n _updateEditLink() {\n const href = document.getElementById(\"edit_link\").getAttribute(\"href\");\n document\n .getElementById(\"edit_link\")\n .setAttribute(\"href\", href.replace(\"/0/\", `/${this.article.id}/`));\n }\n}\n\nexport default Show;\n","import { Models } from \"loco-js\";\n\nclass Comment extends Models.Base {\n static identity = \"Article.Comment\";\n\n static remoteName = \"Comment\";\n\n static resources = {\n url: \"/user/articles/:articleId/comments\",\n paginate: { per: 10 },\n main: {\n url: \"/articles/:articleId/comments\",\n paginate: { per: 5, param: \"page-num\" }\n },\n admin: {\n url: \"/admin/articles/:articleId/comments\",\n paginate: { per: 5 }\n }\n };\n\n static attributes = {\n author: {\n validations: {\n presence: true\n }\n },\n text: {\n validations: {\n presence: true,\n vulgarity: true\n }\n },\n articleId: {\n type: \"Int\",\n validations: {\n presence: true\n },\n remoteName: \"article_id\"\n },\n createdAt: {\n type: \"Date\",\n remoteName: \"created_at\"\n },\n updatedAt: {\n type: \"Date\",\n remoteName: \"updated_at\"\n },\n emotion: {\n type: \"Int\"\n },\n pinned: {\n type: \"Boolean\"\n },\n adminRate: {\n type: \"Int\",\n remoteName: \"admin_rate\"\n },\n approved: {\n type: \"Boolean\"\n }\n };\n\n constructor(data) {\n super(data);\n }\n}\n\nexport default Comment;\n","export const commentsForArticle = (state, articleId) => {\n return state.comments[articleId];\n};\n","import React, { useState } from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Services } from \"loco-js\";\n\nimport store from \"stores/user\";\n\nimport CommentModel from \"models/article/Comment\";\n\nfunction Comment({ comment, isAdmin = false }) {\n const [approving, setApproving] = useState(false);\n\n const createdAt = new Services.Date(comment.createdAt).strftime(\"%d %b %y\");\n\n const handleApproving = e => {\n e.preventDefault();\n setApproving(true);\n comment.approved = true;\n comment.updateAttribute(\"approved\").then(res => {\n if (!res.ok) return;\n store.dispatch({\n type: \"UPDATE_COMMENT\",\n payload: {\n articleId: comment.articleId,\n comment: new CommentModel({ ...comment, approved: true })\n }\n });\n });\n };\n\n const adminSection = () => {\n let approveLink;\n\n if (comment.approved) {\n approveLink = (\n <>\n approved |{\" \"}\n >\n );\n } else if (approving) {\n approveLink = (\n <>\n approving... |{\" \"}\n >\n );\n } else {\n approveLink = (\n <>\n \n approve\n {\" \"}\n |{\" \"}\n >\n );\n }\n\n return (\n <>\n {\" \"}\n ({approveLink}\n \n edit\n {\" \"}\n |{\" \"}\n \n delete\n \n )\n >\n );\n };\n\n return (\n
\n {comment.author} on {createdAt}\n {isAdmin ? adminSection() : \"\"}\n
\n {comment.text}\n
No comments.
;\n\n const list = comments.map(comment => (\n${author}: ${message}
`;\n document\n .getElementById(\"messages\")\n .insertAdjacentHTML(\"beforeend\", renderedMessage);\n }\n\n receivedSignal(signal, data) {\n switch (signal) {\n case \"Room member_joined\":\n if (data.room_id !== this.roomId) return;\n this._memberJoined(data.member);\n break;\n case \"Room member_left\":\n if (data.room_id !== this.roomId) return;\n this._memberLeft(data.member);\n }\n }\n\n _handleSendingMessage() {\n document\n .querySelector(\"[data-behavior~=room-speaker]\")\n .addEventListener(\"keypress\", event => {\n if (event.keyCode !== 13) return;\n event.preventDefault();\n Env.loco.emit({\n signal: \"message\",\n txt: event.target.value,\n room_id: this.roomId\n });\n event.target.value = \"\";\n });\n }\n\n _memberJoined(member) {\n const li = `\n {comment.author} on {createdAt} (\n \n edit\n \n )\n
\n {comment.text}\n
No comments
;\n }\n return (\n <>\n {comments.map(comment => (\n\n \n {article.author} wrote this on {date} /{\" \"}\n \n {article.commentsCount} comment\n {article.commentsCount === 1 ? \"\" : \"s\"}\n \n \n
\n{article.content}
\n\n Review\n
\n\n {comment.author} on {createdAt} wrote:\n
\n {comment.text}\n
No comments.
;\n }\n\n return <>{list}>;\n}\n\nStatefulCommentList.propTypes = {\n articleId: PropTypes.number.isRequired,\n comments: PropTypes.arrayOf(PropTypes.instanceOf(CommentModel)).isRequired\n};\n\nexport default StatefulCommentList;\n","import React, { useEffect, useState } from \"react\";\nimport PropTypes from \"prop-types\";\n\nimport store from \"stores/main\";\nimport { commentsForArticle } from \"selectors/comments\";\nimport CommentModel from \"models/article/Comment\";\n\nfunction CommentsNumber(props) {\n const [comments, setComments] = useState(props.comments);\n\n useEffect(() => {\n const unsubscribe = store.subscribe(() => {\n setComments(commentsForArticle(store.getState(), props.articleId));\n });\n\n return () => {\n unsubscribe();\n };\n });\n\n return <>{`${comments.length} comment${comments.length === 1 ? \"\" : \"s\"}`}>;\n}\n\nCommentsNumber.propTypes = {\n articleId: PropTypes.number.isRequired,\n comments: PropTypes.arrayOf(PropTypes.instanceOf(CommentModel)).isRequired\n};\n\nexport default CommentsNumber;\n","import { Helpers, Services, UI, Views } from \"loco-js\";\n\nimport Flash from \"views/shared/Flash\";\n\nclass Show extends Views.Base {\n constructor(opts = {}) {\n super(opts);\n this.article = null;\n this.newComment = opts.comment;\n }\n\n render() {\n const form = new UI.Form({\n for: this.newComment,\n initObj: true,\n id: \"new_comment\"\n });\n form.render();\n }\n\n renderArticle(article = null) {\n if (!this.article) {\n this.article = article;\n this.connectWith(this.article, { receiver: \"_articleReceivedSignal\" });\n }\n document.getElementById(\"title\").textContent = this.article.title;\n document.getElementById(\"author\").textContent = this.article.author;\n const dateService = new Services.Date(this.article.publishedAt);\n document.getElementById(\"pub_date\").textContent = dateService.toString(\n \"short\"\n );\n const textEl = document.getElementById(\"text\");\n textEl.innerHTML = \"\";\n const text = new Helpers.Text().simpleFormat(this.article.content);\n textEl.insertAdjacentHTML(\"beforeend\", text);\n }\n\n _articleReceivedSignal(signal) {\n switch (signal) {\n case \"updating\": {\n const txt =\n \"Author is currently editing article. Be aware of possible changes.\";\n const flash = new Flash({ warning: txt });\n flash.render();\n break;\n }\n case \"updated\":\n this.article.reload().then(() => {\n this.article.applyChanges();\n this.renderArticle();\n });\n }\n }\n}\n\nexport default Show;\n","import React from \"react\";\nimport { render } from \"react-dom\";\nimport { Controllers } from \"loco-js\";\n\nimport store from \"stores/main\";\nimport CommentList from \"containers/main/articles/StatefulCommentList\";\nimport CommentsNumber from \"containers/main/articles/CommentsNumber\";\n\nimport Article from \"models/Article\";\nimport Comment from \"models/article/Comment\";\nimport Show from \"views/main/articles/Show\";\n\nclass Articles extends Controllers.Base {\n show() {\n const newComment = new Comment({ articleId: this.params.id });\n const view = new Show({ comment: newComment });\n view.render();\n Article.find(this.params.id).then(article => {\n store.dispatch({\n type: \"SET_ARTICLES\",\n payload: { articles: [article] }\n });\n view.renderArticle(article);\n });\n Comment.get(\"count\", { articleId: this.params.id }).then(res => {\n Comment.all({ articleId: this.params.id, total: res.total }).then(\n comments => {\n store.dispatch({\n type: \"SET_COMMENTS\",\n payload: { articleId: this.params.id, comments }\n });\n render(\n React.createElement(CommentList, {\n articleId: this.params.id,\n comments\n }),\n document.getElementById(\"comments\")\n );\n render(\n React.createElement(CommentsNumber, {\n articleId: this.params.id,\n comments\n }),\n document.getElementById(\"comments_count\")\n );\n }\n );\n });\n }\n}\n\nexport default Articles;\n","import React, { useState } from \"react\";\n\nimport Article from \"models/Article\";\nimport store from \"stores/main\";\n\nexport default function LoadMoreLink() {\n const [page, setPage] = useState(1);\n const [noMorePosts, setNoMorePosts] = useState(false);\n\n function handleClick(e) {\n e.preventDefault();\n const currentPage = page + 1;\n setPage(currentPage);\n Article.get(\"all\", { page: currentPage })\n .then(resp => {\n if (resp.resources.length > 0) {\n store.dispatch({\n type: \"ADD_ARTICLES\",\n payload: { articles: resp.resources }\n });\n } else {\n setNoMorePosts(true);\n }\n })\n .catch(err => alert(`Invalid URL: ${err}`));\n }\n\n function output() {\n if (noMorePosts) return No more posts.;\n else\n return (\n \n Load more…\n \n );\n }\n\n return output();\n}\n","import React from \"react\";\nimport PropTypes from \"prop-types\";\nimport { Services } from \"loco-js\";\n\nimport ArticleModel from \"models/Article\";\n\nfunction Article({ article }) {\n const date = new Services.Date(article.publishedAt).toString(\"short\");\n\n return (\n\n \n {article.author} wrote this on {date} /{\" \"}\n \n {article.commentsCount} comment\n {article.commentsCount === 1 ? \"\" : \"s\"}\n \n \n
\n{article.content}
\n\n Continued…\n
\n