Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
d736050
Update README.md
NathanCastle Sep 12, 2015
e6b4b89
Now sorting responses by the date they were responded to, not their s…
James-Reilly Sep 14, 2015
5c907c0
Added Moderation page and pending attribute to posts
James-Reilly Sep 14, 2015
2418e30
Added functional methods and buttons to approve and reject posts
James-Reilly Sep 15, 2015
7191563
Reject now brings an modal with a area for input and emails are sent …
James-Reilly Sep 16, 2015
9df6a21
Styled moderatation page/button and added button to admin settings
James-Reilly Sep 17, 2015
ac9dc80
Added text boxes with formatting and styled the response page
James-Reilly Sep 24, 2015
6491c11
add tag select functionality, sidebar
sidgonuts Sep 25, 2015
e9a1878
Fixed the long string error
James-Reilly Sep 25, 2015
5f211ce
Initial Commit
Sep 25, 2015
5a491d3
started working on non-link functionality
sidgonuts Sep 28, 2015
7e4635f
Can now sort by tag in all pages with simple-ui
James-Reilly Sep 28, 2015
483997e
Finished styling tag filter
James-Reilly Sep 29, 2015
4c2060c
Removed filtering dropdown
James-Reilly Sep 29, 2015
89df36e
Removed some buttons
James-Reilly Sep 30, 2015
27644be
Merge pull request #67 from ritstudentgovernment/wysiwyg
James-Reilly Sep 30, 2015
71a87a2
Merge pull request #68 from ritstudentgovernment/fix-issue#65
James-Reilly Sep 30, 2015
ff03488
Solved merge conflicts
James-Reilly Sep 30, 2015
8fffc0a
Fixed moderation page + merge conflicts
James-Reilly Sep 30, 2015
ba41d40
Merge pull request #69 from ritstudentgovernment/moderator-page
James-Reilly Sep 30, 2015
7968440
Solved merge conflicts
James-Reilly Sep 30, 2015
e46d2c8
Merge pull request #73 from ritstudentgovernment/tag-select
James-Reilly Sep 30, 2015
84c2e99
Solved merge conflicts
James-Reilly Sep 30, 2015
e18f616
Merge pull request #72 from ritstudentgovernment/search
James-Reilly Sep 30, 2015
5f56d7f
Create settings.json.sample
James-Reilly Oct 1, 2015
e47e1ef
Removed Wysiwyg and added new carousel images
James-Reilly Oct 2, 2015
1befe02
Merge pull request #74 from ritstudentgovernment/remove-wysiwyg
James-Reilly Oct 2, 2015
d349b3d
Sort tags by name and cleared tag session variable
James-Reilly Oct 2, 2015
d9acf36
Merge pull request #75 from ritstudentgovernment/remove-wysiwyg
James-Reilly Oct 2, 2015
4412172
Fixed tag overflow and tag links
James-Reilly Oct 3, 2015
0192bf8
Changed main page title
James-Reilly Oct 3, 2015
54a4627
Removed tag page and links to it in postPage
James-Reilly Oct 3, 2015
e390061
Fixed after text
James-Reilly Oct 3, 2015
1bbbfe2
Removed froala package
James-Reilly Oct 3, 2015
484f44f
Tags are brown for expired petitions
Oct 23, 2015
b9cb6a8
Brown text if expired
Oct 30, 2015
9a578cd
Fixed merge conflicts
James-Reilly Oct 30, 2015
c0ed639
Merge pull request #77 from ritstudentgovernment/expired
James-Reilly Oct 30, 2015
83601ac
Fixed text on non-expired petitions
James-Reilly Nov 3, 2015
4d2c8a2
Merge pull request #78 from ritstudentgovernment/develop
NathanCastle Nov 14, 2015
37d7ada
Merge remote-tracking branch 'origin/master' into develop
NathanCastle Nov 14, 2015
a1f3e9d
Merge remote-tracking branch 'origin/master' into develop
NathanCastle Nov 14, 2015
c585298
switched to fixed navbar
NathanCastle Nov 14, 2015
0ea7e52
removes accidental duplication of collapse code
NathanCastle Nov 14, 2015
ce81287
code cleanup refactor
NathanCastle Nov 14, 2015
234788c
Improved petition creation page
NathanCastle Nov 14, 2015
ca79ea6
First attempt at petition page redesign
NathanCastle Nov 14, 2015
6be9edc
Updated search page to put cursor in textbox on load.
NathanCastle Nov 14, 2015
ed7f524
Improvements to the update/responded to petition +
NathanCastle Nov 15, 2015
0da1d95
Merge branch 'develop' into petition-page-redesign
NathanCastle Nov 15, 2015
849894f
Switched to GPL V2
NathanCastle Nov 15, 2015
d4817bf
Updated post listing pages & changes to carousel
NathanCastle Nov 15, 2015
f1c0021
Merge branch 'develop' into petition-page-redesign
NathanCastle Nov 16, 2015
5710dd1
Improved presentation of updates
NathanCastle Nov 16, 2015
94268a4
Merge pull request #79 from ritstudentgovernment/petition-page-redesign
NathanCastle Nov 16, 2015
4075f85
Merge pull request #80 from ritstudentgovernment/page-sort-redesign
NathanCastle Nov 16, 2015
fa67b2a
Fixed so that all responded petitions appear orange.
NathanCastle Nov 16, 2015
a2b84fd
Improved about pages to match petition page theme
NathanCastle Nov 16, 2015
8f12afe
Modified navigation to have more descriptive icons and use more accur…
NathanCastle Nov 16, 2015
90eaaa5
Centered text in search bar
NathanCastle Nov 16, 2015
0fe6946
Resolved casing and text issues
NathanCastle Nov 16, 2015
f99c252
change to fix issue with existing database
NathanCastle Nov 16, 2015
0f0f168
Migrations now work
NathanCastle Nov 17, 2015
437c31f
first attempt at fixing petition count migration issue
NathanCastle Nov 18, 2015
c152caf
removes duplicate code (missed in refactor)
NathanCastle Nov 20, 2015
f85a90f
Resolves issue #65
NathanCastle Nov 20, 2015
563d09e
Resolves issue #59
NathanCastle Nov 20, 2015
38ed360
Removed unused package reference
NathanCastle Nov 20, 2015
17d064b
Resolved minor presentational annoyances
NathanCastle Nov 20, 2015
a5d8575
Add support for sorting by last signed. See issue #50
NathanCastle Nov 20, 2015
4d884d6
Update to resolve issues with... updates
NathanCastle Nov 20, 2015
e379815
Merge pull request #81 from ritstudentgovernment/develop-migration
NathanCastle Nov 20, 2015
a88a31b
Genericized LDAP login. LDAP paths are all configured in the setting…
CekoAtNaz Feb 8, 2016
9f66cab
Updated the settings.json.sample file to reflect the new LDAP configu…
CekoAtNaz Feb 10, 2016
0a4bfd6
Pulled out the uid= attribute when binding as that user (and logging in)
CekoAtNaz Feb 10, 2016
0ce24c2
Added publicSettings helper to handlebar.js
CekoAtNaz Feb 10, 2016
6f1000c
Adds the ability for a user to edit their initials. We don't have en…
CekoAtNaz Feb 10, 2016
b033aa0
Upgraded to meteor 1.2.
CekoAtNaz Feb 10, 2016
aa246c2
Merge branch 'meteor1.2-upgrade' into nazfork-develop
CekoAtNaz Feb 10, 2016
b808e8a
Added the ability to lock role editing. The notification is hard-cod…
CekoAtNaz Feb 10, 2016
105989c
Added error checking in case there is a problem accessing the initial…
CekoAtNaz Feb 10, 2016
c2bd578
Made emails configurable and overridable by introducing a Mailer obje…
CekoAtNaz Feb 10, 2016
1f1d486
Adds a new file to lib: underscore-mixins.js. Right now this only c…
CekoAtNaz Feb 11, 2016
e064e46
Email templates are now compiled at server start, to catch more error…
CekoAtNaz Feb 11, 2016
c644ce4
Updated the settings.json.sample file to include the updated MAIL sec…
CekoAtNaz Feb 11, 2016
b57a4c9
Slightly adjusted comments in settings.json.sample.
CekoAtNaz Feb 11, 2016
95ea83f
Adjusted comments in settings.json.sample again to get quotes to line…
CekoAtNaz Feb 11, 2016
7a27d4a
Debounced setting the Session when creating a new petition, it was ca…
CekoAtNaz Feb 12, 2016
b8cd3dc
Qualified the user form submission event handler in the admin.js file…
CekoAtNaz Feb 12, 2016
f00da3b
Added a badge next to the signature on petition cards that say whethe…
CekoAtNaz Feb 12, 2016
4abedd0
Merge pull request #82 from ceko/genericize-ldap
NathanCastle Feb 14, 2016
e753479
Merge pull request #83 from ceko/public-settings-helper
NathanCastle Feb 14, 2016
4c966f1
Merge pull request #84 from ceko/edit-initials
NathanCastle Feb 14, 2016
e0083e9
Upgraded EasySearch to the latest version and made it respect permiss…
CekoAtNaz Feb 15, 2016
f34bdb4
Merge pull request #85 from ceko/meteor1.2-upgrade
NathanCastle Feb 25, 2016
104acd4
Merge pull request #90 from ceko/debounced-petition-create-methods
NathanCastle Feb 25, 2016
67e6786
Merge pull request #96 from ceko/fix-easysearch
NathanCastle Feb 25, 2016
ff89383
Minor style changes
NathanCastle Mar 3, 2016
d1ed77d
Merge branch 'develop' into pr/94
NathanCastle Mar 3, 2016
6b00710
Merge branch 'pr/94' into develop
NathanCastle Mar 3, 2016
075aa08
Merge pull request #89 from ceko/add-get-underscore-mixin
NathanCastle Mar 3, 2016
1809ef1
Merge pull request #86 from ceko/lock-roles
NathanCastle Mar 3, 2016
a7dca17
Merge branch 'genericize-emails' of https://github.com/ceko/petitions…
NathanCastle Mar 3, 2016
6e69798
Merge branch 'ceko-genericize-emails' into develop
NathanCastle Mar 3, 2016
5c9e745
Added a setting to change carousel images.
CekoAtNaz Mar 3, 2016
db5af09
Updated settings.json file.
CekoAtNaz Mar 3, 2016
480e6b8
Tweaked the way _.get is called for carousel images.
CekoAtNaz Mar 3, 2016
34b216c
Added an optional import file to override brand colors. Also cleaned…
CekoAtNaz Mar 3, 2016
6239694
Merge pull request #99 from ceko/css-tweaks
NathanCastle Mar 3, 2016
ab964be
Merge pull request #98 from ceko/allow-configurable-carousel
NathanCastle Mar 3, 2016
b90a32e
Made SEO (title and description) configurable through the settings file.
CekoAtNaz Mar 3, 2016
18e62fd
Changed seo_data in public settings to seo_overrides to more accurate…
CekoAtNaz Mar 3, 2016
2c47e76
Removed errant whitespace.
CekoAtNaz Mar 3, 2016
5ac5c1e
Fixed checkboxes looking blank when you focus them because of a white…
CekoAtNaz Mar 3, 2016
b1b8648
Merge pull request #100 from ceko/allow-configurable-seo
NathanCastle Mar 3, 2016
d6c0fb1
Merge pull request #102 from ceko/checkbox-css-fix
NathanCastle Mar 3, 2016
2283747
Fixed recieved->received typo.
CekoAtNaz Mar 4, 2016
eeeb57f
Merge pull request #103 from ceko/recieved-typo-fix
NathanCastle Mar 6, 2016
9ede6f2
Allow updates after response
NathanCastle Mar 21, 2016
5778580
Extended length limits to 10000 characters
NathanCastle Mar 21, 2016
f90d36e
Removed hardcoded value
NathanCastle Mar 21, 2016
4fa268f
fixed issue with updates not posting correctly when a response is alr…
NathanCastle Mar 21, 2016
e2782af
Fully implemented wysiwyg editor
NathanCastle Mar 21, 2016
cf3f820
Implemented subscribe button on petitions
NathanCastle Mar 21, 2016
eee18db
fixed issue where authors weren't subbed by default
NathanCastle Mar 21, 2016
3fc948d
Highlights the status of pending petitions
NathanCastle Mar 21, 2016
fe5ba56
enabled parallax for carousel images
NathanCastle Mar 21, 2016
23249c6
Merge pull request #115 from ritstudentgovernment/enable-optional-par…
NathanCastle Mar 22, 2016
9d8ba9c
Merge pull request #110 from ritstudentgovernment/allow-updates-after…
NathanCastle Mar 22, 2016
a1187e0
Merge pull request #112 from ritstudentgovernment/implement-wysiwyg-e…
NathanCastle Mar 22, 2016
6a0eb94
Merge pull request #114 from ritstudentgovernment/differentiate-unmod…
NathanCastle Mar 22, 2016
eff1b9e
Merge branch 'remove-length-limits' into develop
NathanCastle Mar 22, 2016
35af88c
Merge branch 'develop' of https://github.com/ritstudentgovernment/pet…
NathanCastle Mar 22, 2016
fde0902
Merge pull request #113 from ritstudentgovernment/add-nonsigning-subs…
NathanCastle Mar 22, 2016
01268a7
Configurable petition history & update author display
NathanCastle Mar 22, 2016
d358364
Merge pull request #116 from ritstudentgovernment/optional-display-se…
NathanCastle Mar 22, 2016
346c3e6
Convert _ to space in email template
NathanCastle Mar 23, 2016
b75b00b
bug fix with space escape
NathanCastle Mar 23, 2016
ac328e2
removed typo
NathanCastle Mar 23, 2016
c1de198
misc fixes
NathanCastle Mar 23, 2016
c4787ad
experiment
NathanCastle Mar 23, 2016
64bf5ec
should eliminate bug when client simulates update
NathanCastle Mar 23, 2016
0834d89
still working
NathanCastle Mar 23, 2016
13dce77
mailer fix?es
NathanCastle Mar 23, 2016
d3777ac
test
NathanCastle Mar 23, 2016
7329d01
resolves issue when signing petitions
NathanCastle Mar 23, 2016
78b205a
Merge pull request #117 from ritstudentgovernment/quality
NathanCastle Mar 23, 2016
90604f3
Made default domain use internally consistent
NathanCastle Mar 23, 2016
a1778a0
Limits of any sort don't make sense in the context of embedded images.
NathanCastle Mar 23, 2016
097b332
Resolve issue with search
NathanCastle Apr 5, 2016
0fdf2de
Saving a petition with an empty response no longer marks the petition…
NathanCastle Apr 5, 2016
8181fe6
Updating a petition with empty response marks it not responded
NathanCastle Apr 5, 2016
bf0496f
Merge pull request #121 from ritstudentgovernment/hotfixes-april-2016
NathanCastle Apr 5, 2016
1b23f28
Update LICENSE
NathanCastle Apr 7, 2016
b4d56f3
Updated to latest version of meteor
NathanCastle Jun 23, 2016
8db4e2a
White-labeled application
NathanCastle Jun 23, 2016
00dd377
Resolves issue with form submit for search as you type form
NathanCastle Jun 24, 2016
b8a2eb3
Improved sidebar on petition page
NathanCastle Jun 24, 2016
1c645c1
Include exact dates in date display
NathanCastle Jun 25, 2016
1f87b98
Resolves issue with unpredictable sorts
NathanCastle Jun 25, 2016
7b56f1f
Updated ldap to handle incorrect logins
omardlhz Apr 28, 2017
edfa60c
Removed log files
omardlhz Apr 28, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.meteor/local
.meteor/meteorite
node_modules/*
settings.json
settings.json
custom.branding.import.less
6 changes: 6 additions & 0 deletions .meteor/.finished-upgraders
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@
notices-for-0.9.0
notices-for-0.9.1
0.9.4-platform-file
notices-for-facebook-graph-api-2
1.2.0-standard-minifiers-package
1.2.0-meteor-platform-split
1.2.0-cordova-changes
1.2.0-breaking-changes
1.3.0-split-minifiers-package
1 change: 0 additions & 1 deletion .meteor/cordova-plugins
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@

11 changes: 9 additions & 2 deletions .meteor/packages
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ email
spiderable
iron:router
cfs:http-methods
matteodem:easy-search
percolatestudio:synced-cron
meteorhacks:npm
datariot:ganalytics
Expand All @@ -21,6 +20,14 @@ manuelschoebel:ms-seo
mrt:moment
sacha:spin
alanning:roles


npm-container
nemo64:bootstrap
easy:search
fileer:string-format
meteorhacks:ssr

summernote:standalone
standard-minifier-css
standard-minifier-js
huttonr:bootstrap3
2 changes: 1 addition & 1 deletion .meteor/release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
METEOR@1.0.2.1
METEOR@1.3.4
175 changes: 102 additions & 73 deletions .meteor/versions
Original file line number Diff line number Diff line change
@@ -1,81 +1,110 @@
[email protected]
alanning:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
cfs:[email protected]
[email protected]
[email protected]
[email protected]
alanning:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
cfs:[email protected]
[email protected]
[email protected]
datariot:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
easy:[email protected]
easysearch:[email protected]
easysearch:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
fileer:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
huttonr:[email protected]_12
huttonr:[email protected]_3
[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
iron:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
manuelschoebel:[email protected]
matteodem:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
meteorhacks:[email protected]
meteorhacks:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
meteorhacks:[email protected]
meteorhacks:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
mrt:[email protected]
natestrauser:[email protected]
nemo64:[email protected]_1
nemo64:[email protected]_1
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
peerlibrary:[email protected]
peerlibrary:[email protected]
peerlibrary:[email protected]
peerlibrary:[email protected]
peerlibrary:[email protected]
peerlibrary:[email protected]
percolatestudio:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
sacha:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
sacha:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
summernote:[email protected]
[email protected]
[email protected]
tmeasday:[email protected]
tmeasday:[email protected]
[email protected].4
[email protected].5
[email protected].2
[email protected].3
webapp@1.1.5
[email protected].2
[email protected].14
[email protected].11
[email protected].9
[email protected].10
webapp@1.2.9
[email protected].9
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 RIT Student Government
Copyright (c) 2016 RIT Student Government

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ Usage (Production Environment)
Contributing
============

- The [roadmap] details planned features by core project maintainers.
- See GitHub Issues for work to be done. If you have any questions, just ask!
- We are open to pull requests! Please follow the coding conventions currently in place.


[Node]:http://nodejs.org/
[Meteor]:https://www.meteor.com/
[roadmap]:https://trello.com/b/b6Kyx395/petition-roadmap
[config]:https://github.com/ritstudentgovernment/config
[article]:https://gentlenode.com/journal/meteor-1-deploy-and-manage-a-meteor-application-on-ubuntu-with-nginx/1
27 changes: 8 additions & 19 deletions api/v1/posts.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ if (Meteor.isServer) {
this.setContentType('application/json');
var limit = Math.min(parseInt(this.query.limit) || 500, 500);
var selector = {published: true};
var posts = Posts.find(selector, {fields: { title: 1,
var petitions = Petitions.find(selector, {fields: { title: 1,
votes: 1,
author: 1,
description: 1,
submitted: 1,
response: 1,
responded_at: 1,
minimumVotes: 1}, limit: limit}).fetch();
return JSON.stringify(posts);
return JSON.stringify(petitions);
} else {
this.setStatusCode(401);
}
Expand All @@ -41,7 +41,7 @@ if (Meteor.isServer) {
var selector = {};
selector['_id'] = this.params.petitionId;
selector['published'] = true;
var post = Posts.findOne(selector, {fields: { title: 1,
var petition = Petitions.findOne(selector, {fields: { title: 1,
votes: 1,
author: 1,
description: 1,
Expand All @@ -50,22 +50,11 @@ if (Meteor.isServer) {
response: 1,
responded_at: 1,
minimumVotes: 1}});
if (post) {
if (petition) {
this.setContentType('application/json');
post.signers = Meteor.users.find({'_id': {$in: post.upvoters}}).map(function (signer) { return signer.profile.initials });
post.history = Scores.find({
postId: post._id,
created_at: { $gte: moment().startOf('day').subtract(1, 'week').valueOf() }
}, {
fields: {
created_at: 1,
votes: 1
},
limit: 7,
sort: {created_at: 1}
}).fetch();
delete post.upvoters;
return JSON.stringify(post);
petition.signatories = Meteor.users.find({'_id': {$in: petition.upvoters}}).map(function (signer) { return signer.profile.initials });
delete petition.upvoters;
return JSON.stringify(petition);
} else
this.setStatusCode(404);
} else {
Expand All @@ -74,4 +63,4 @@ if (Meteor.isServer) {
}
}
});
}
}
8 changes: 6 additions & 2 deletions client/helpers/handlebars.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Handlebars.registerHelper('fromNow', function (time) {
var timeTick = new Deps.Dependency();
Meteor.setInterval(function () { timeTick.changed(); }, 1000);
timeTick.depend();
return new moment(time).fromNow().toUpperCase();
return new moment(time).fromNow();
});

Handlebars.registerHelper('singleton', function () {
Expand All @@ -83,4 +83,8 @@ var routeUtils = {

Handlebars.registerHelper('isActiveRoute', function(route) {
return routeUtils.testRoutes(route) ? 'active' : '';
});
});

Handlebars.registerHelper('publicSettings', function(route) {
return Meteor.settings.public;
});
4 changes: 2 additions & 2 deletions client/helpers/init.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Session.setDefault('postsLimit', 12);
Session.setDefault('postOrder', 'submitted');
Session.setDefault('petitionsLimit', 12);
Session.setDefault('petitionOrder', 'submitted');
2 changes: 1 addition & 1 deletion client/main.html
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<head>
<title>PawPrints</title>
<title>Petitions</title>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="fragment" content="!">
Expand Down
Loading