[openstreetmap/openstreetmap-website] Add static code checks in Travis CI (#2229)

Andy Allan notifications at github.com
Wed Aug 28 10:32:53 UTC 2019


@gravitystorm pushed 169 commits.

17e6e69c39072d8e6cb316b75b311e89c92cca45  Move generation of gpx_file XML from model to builder
363155a2a86796d27ee9161f1ee9b74d6fa307e5  Move xml gen. into view for (old) nodes, ways, relations, map
2142ff02c2442d28580ff99080bc1219c2bfe59f  Allow moderators to hide diary entries and comments
26cbdcf71a68d5515c91bf9cb4ec958ce90c2647  Fix importing of GPX traces with a leading byte order marker
7f61fc22de8d46bfcdcce44edcfdc912d951070e  Allow indexing of diary entries again
7a91da329dca7b7338384a4d738ae56d16812ab7  Allow indexing of diary entries again
42269d91fee778f28af4c8fb60bba5dcd6a886b3  Localisation updates from https://translatewiki.net.
7ee554ed64d67cee025e3a5c80ba9404b01b407f  Update to iD v2.15.2
7fb85f1ca6417f4f0e20b8e33ed92d5d531897e9  Pass through `photo_overlay` parameter
657ed03d8b2e262bc965cc38e8af190624c3295b  Update bundle
31edc7dff6f4305366d0f93d35ba3fb1956bb71f  Merge remote-tracking branch 'upstream/pull/2226'
74af87d9d1006a5c664398de19da31ad9c29776c  Add translations for distance_in_time_ago
1cf8fec58d2e32d431aaee51213d738241e39e66  Rename Friend model to Friendship
2169c503efbbeb45c3842e9fa5eef6cc01e8e27b  Rename user.friend_users to user.friends
d33b1f6b29651c7e8a021ab37f8659054df4881f  Pass the models, not the ids, when dealing with friendships
cbb3c2bdf0843ad1fb0095cb5c4cefd83eb5507a  Use user models, not ids, in assertions
1298d80549e428d4907a474a176805a11c969714  Use the distance_in_words_ago scope for trace display
df560bd71dea9c222fcb233a36a906c2e08ebe30  Use the distance_in_words_ago scope for diary comments pages
50d469a74a95a26645fc0f8dbe2ad71b0de24e29  Use distance_in_words_ago scope for issues display
47e653ffe021339ff19b767cfa0c87a508687781  Use scope for time_ago when viewing users
00f75c175e432e51c7c80eff02384dc35294d760  Use scope for common details and changeset display in browse pages
54e0c7afb2b380a869097a3df826bb860248bb47  Use distance_in_words_ago scope for user blocks
f284d57c6236327b50c8d4a2ac0545105d1d03cc  Add a friendly_date_ago helper
cd5e28406b93439465ef43ad0413720a60398f15  Use friendy_date_ago helper for notes
5e068152143a27fbf34ed6c90773f46b59039c70  Use friendly_date_ago helper for user_blocks
3167e6b4bbbf01c2b69d9e67117a734ff0544b6a  Use friendly_date_ago helper for chnagesets
75bf96c4f3472a21163032a25ff7700d3c692225  Use friendly_date_ago helper for changeset comments
e5d8bd539f045db1870a4722290f75b11cf4d2e0  Use friendly_date_ago for user blocks
220ad927662dcc3e93a7cee337ddc385e19cd386  Use friendly_date_ago for notes display
23dfc4d3bde49ef907de08ee2efbece0d4ce261d  Update note comments to use friendly_date_ago helper
6b6345ecdba2589df96489b259651adb4c764362  Merge remote-tracking branch 'upstream/pull/2269'
80427b3e5e5ebeecbc0a57a1549a2a33e0c92199  Merge remote-tracking branch 'upstream/pull/2270'
16cbc2eb798ed3de360574c874049225641b3d76  Merge remote-tracking branch 'upstream/pull/2267'
81d6d6a6a353e1ba8cc448f40fba17a03cf2620f  Localisation updates from https://translatewiki.net.
dd281a19c48f0324ac617f490275dcbd52a6dd60  Update Potlatch 2 to 2.5-83-g28c84372 build
fc67e63589536b0d8fa3a92aa7eff57ebeceb3a6  Block indexing of diary entries
d2d5d48f2993f2ffca415362a40b8a02127bd4a8  Allow signups to be blocked by MX host
4440730c9b1014d81688655f4c3fca92b5a3225c  Localisation updates from https://translatewiki.net.
1817032c87bf960fedbd8136fb2a974e56af9c4c  Update bundle
5b4636d5213de2e699769821031c37663ab71557  Fix text direction for traditional chinese
16c3c533022d90cbfafecd17349d09fcbb7abed9  Merge remote-tracking branch 'upstream/pull/2271'
c24b0e93997bcd6bcad475d9ba0adfe86fa01ea6  Rework to ensure views are named after the controller method name
3914050fcc24c8727c485412a69b12292bbf213d  Simplify partial rendering when the partial is named after the model
0211141c085da26cd26001ae4ba0e0446b6ddd4e  Simplify render calls for changesets
f280dcb2d798b3dfd4aad345a1ab7efa10d8bbe4  Merge remote-tracking branch 'upstream/pull/2278'
f77d4dc4f71b15af58ee6e5b5d63c436482e7b19  Avoid stating the action to render when it just matches the current action
899fc66a62b036adcfd59f5da80c7fc6f30cd3a8  Merge remote-tracking branch 'upstream/pull/2279'
cbea796ef412840af9a3ec2fd26bf08657fc4cd3  Merge remote-tracking branch 'upstream/pull/2207'
2398614349e3ff5605868fea82e013d2a9a16ef9  Add support for an unversioned 'versions' API call
0dbb33016f77eef7d150044f06fc7ce86cde4d59  Rename @edits variable to @changesets, for clarity
fd61706e4cc2d6909d424a1d0b147fc688ebd005  Split some extremely long strings over multiple lines using squiggly heredocs
89f8f7af3539588c234496dd769f9042199bd248  Merge remote-tracking branch 'upstream/pull/2281'
b25f10eb56b1b2864d3a9eeff535caea119e55cc  Merge remote-tracking branch 'upstream/pull/2282'
a66c34991acfff398fbc83c921dfce18a835ee26  Merge remote-tracking branch 'upstream/pull/2280'
45e7c9a32e08446fd087580d84b2e11eadc1683d  Avoid using @variables in partials
d0de9967b9bd21c8e7c03e060626c4486b149fb2  Simplify partial rendering
cf3cf5216fa3697ad2e3c060fced6a7bbb16f4a4  Avoid unnecessary arrays
c1c277186ef0c519bed5b07e1b67ab8681010f15  Localisation updates from https://translatewiki.net.
b9ae40d9784725b75e5b52f55659c80326656d8f  Remove non functioning changeset_cache, user_display_name_cache
8ad1ce97983a5d4fb86ccb8ee4cd640a76f95255  Refactoring
11cc4a5e601dd288d601e6e35a72d159062f18b5  Merge branch 'master' into patch/view_migration
4e3527f5197449da89a78ac502d02cea6dec9f33  Fix text direction for traditional chinese
2bfb976b8e42f6ab0e87c053e91b2bc88538dba6  Revert XML default for routes
fb953006a1a8fe2949f376e167dda963dfd784bd  Replace respond_to with render xml format
84faaaf7950e61b5f87019398aeda0ead8d41c2c  Rubocop
78ecc76067e434856358e609fa883619d316ffc4  Update list of dependencies to install
390c7d762429539627734dbd6142746a2ad9ca18  Fix spellings from aggree to agree
b75cf73a5480600b2d53cceec2a230122f61b8fa  Merge remote-tracking branch 'upstream/pull/2293'
12cdc58688e372b69abaea98cdc0090716ff0d36  Update to iD v2.15.3
55844044128d1ca8350884877ec822bb251cdd7e  Merge remote-tracking branch 'upstream/pull/2294'
a0660c009c554b19c77297aa1afb38291485adef  Localisation updates from https://translatewiki.net.
ea2c790a42cbb4ed6582646b8f45af5050ba472c  Fix text direction for traditional chinese
37966859da6fe8419f2d80d05d259cd2c751099d  Revert "Block indexing of diary entries"
ee8ed3c682699e78fa5952b1ad554a09db546638  Add missing space
f9109b7a75f91c208a7b5f68cc64ba253a9041c5  Fix styling of email notifications in RTL languages
e8e44dbb9f9ed0fbd058f017cf6b5d668282cd37  More tweaks for RTL email
9299f8ca23d7cd7a1cb2f080bf6bd440140d3637  Include bundler in packages to install on Ubuntu
f39ea70083b8556c7bf6e9a4b682ebb2cab9eb01  Ubuntu 18.04 is now required. Add apt-get update
f2ceda52963491156d94e45f430cc5b626c35b0c  Localisation updates from https://translatewiki.net.
d021bdf5cf57f6020279043ac276f96f5bf6352c  Merge remote-tracking branch 'upstream/pull/2223'
d7f92e163e332036b7af195e4d1d2030bdcde250  Update bundle
6f9b0c2f6b187a1787e195cd0d768c5fca1cd839  Fix rubocop warnings
d0201f4487fbf4a81abfb9206a25c27b4be9dec6  Update wiki page data
cec5e4999c1529d0716d83639ac4f23b0c84dd26  Localisation updates from https://translatewiki.net.
ba627420a3e183fcee7ce38b2f68a0ff7663c647  Add support for Active Storage attachments
6c202448ade514cd5ecca7175555011c851735e9  Move user images to Active Storage with paperclip as a fallback
77026ee0398dfb5d049dbc0d3359b2c7b3d9309e  Add support for using S3 as the object store
77ee8c1a53f4124e36012b01801ab801f36dd58d  Monkey patch Active Storage to set content type when uploading to S3
75e60acf661e39f3ab01d486ed17616bab036f73  Allow configuration of storage server URL for security policy
8c1a5d62f8b2f5491f7d476cdcbd0d4121903079  Ignore the class length of test files
4111388674b1278d768ea2b251475f37c7eece05  Localisation updates from https://translatewiki.net.
d63beb80805bec2155c961f15a4e45ef3bf7921d  make link in documentation clickable
64f70a7cb0f13cf9adf552051dc2dd9db111fd46  Merge remote-tracking branch 'upstream/pull/2305'
27078aa7803c0e38a83805f80d3660608190084d  Update eslint
807750023aa02896117a1d5d67a750eccd31d90b  Fix eslint warning
c4c0e8105a8edc35205add749f461ec7be689aef  Enforce consistent indentation in javascript code
492a6405306092c39c26b4f6cc8b2e793ee22d43  Enable a few more eslint checks
c162c065c6f6db5dc584599f5639b296b627a165  Merge remote-tracking branch 'upstream/pull/2296'
550fa0c8e46c9d4e09e30f7940bcb63f84f0ac41  It's to_sym not to_symbol
cd4ac6ac2dfaea3f2c7419d8b6d5e0a9490e286a  Revert accidental schema changes
a47c0a4411825f48e447641094678b15df3b2f74  Update querystring references
6da536e5c8870cb30594a7397e074803080e2708  Add a rake task to move user avatars to Active Storage
11c4aa7d73f212d1dfba920e3853b9b6d6cbd197  Skip uploading images for users that have a new style avatar
cc5688a6ded7913e1956326e2b40333e99962048  Localisation updates from https://translatewiki.net.
6dd451c7ee48663d6b0753bfe8b4da2060c4cf60  Stop creating a shared global querystring variable
d2d3f2c9fdb76eb8193eaa079868504b8b9906c5  Fix rubocop warning
5cb96cd1a2964463dfcb6083da95badecccb7f98  Send trace import result notification immediately
c5fc9f0e7e93088c599ae0d8540ee0117f277d6d  Run any Active Storage jobs in the storage queue
e3f37bb30cc77f0ffa1e8132f99ed59854641ca0  Allow BMP images to be transformed
f5977808222bacf30ad56dfd7ccf764bcc46aa11  Increase expiry for Active Storage URLs
905a7eadb622761b3c752a113ca878faa316a37a  Defer deletion of avatars to a background job
cea0ba51377a1ac356a58df591092e7b28825f2d  Merge remote-tracking branch 'upstream/pull/2313'
b911b45961165d64fba577d4cb87740d89ec6784  Return absolute URLs for user images
3cfffc2258621558e1147ceaf63980a7f6ed414b  Update gravatar methods to check for Active Storage images
91a37235ac748df7dc241b215790d6cbecd652f3  Remove support for old style user images
40ac2aa5280f46c0c8cf3676596334269ec2f696  Use the configured host name for user image URLs
0444187cb6eccee4f77596c1a575d32e6c96192d  Update annotations after 91a37235ac748df7dc241b215790d6cbecd652f3
6ebb21b66020ba845abd9fda408bb204d326e0de  Avoid using live models in old migrations
d130db9fa84da832a6a0cb0333982725fdc480c7  Avoid more models in old migrations
a254efb5ec6b30601aeb82cf6380ace02d71c4e8  Set server_url to test.host in test environments
add6f9643b8c14ec29c607b8ca3adfa83ff8754c  Rework help page text
43b0d4236300e65c5fa9f9c49f348e95f96bcc16  Merge remote-tracking branch 'upstream/pull/2322'
8750405bf7cc44ef53ea2387c5315925175de169  Merge remote-tracking branch 'upstream/pull/2320'
227c402ad10059ec35394f2a960a620e5cda73af  Don't try and add fingerprints for user images
826b70fdc5f44ab2f6bde94b8ab67bf98ee43981  Replace migrations that rely on models with rake tasks
8a39c6b4a223160d47b293bc07d57d4e77685746  Drop old user image columns
5a54cb52f8b46283ddb6059e53f0d49886983ccf  Drop paperclip
bc37f1d8518bf1b4c892c53355c7b71e32ec1346  Localisation updates from https://translatewiki.net.
0af8b95b7d8b1c633bb3d021f099c90d65df69c6  Update bundle
1f880528bd834bd59465b51ea8eccfe9fbd1715a  Fix new rubocop warnings
64b605a8208d267752c37227cceb8af93a1d67dd  Localisation updates from https://translatewiki.net.
4ff60670339b7d9191d20876aaf54ac78a62f597  Fix text direction for Japanese
81f1e7982a4fd9904ef709ef2a4822ce5de031e4  Localisation updates from https://translatewiki.net.
61faea262a5b75ddca7035daa68239a1f0c54d05  Pass viewbox to Nominatim when geocoding routing endpoints
241f12df40a5c2c536cbd15177bd39e55d4fb75c  Update to iD v2.15.4
cfb9d537a69df486f9fd4e7d5532a69c2990bf62  Remove file unrelated to iD 2.15.4 release
02e5a93dc529c491afafa76b281238463ac0afc5  Merge remote-tracking branch 'upstream/pull/2330'
9581fc24f8141fc50bcb450fc910d64faf98db73  Localisation updates from https://translatewiki.net.
1addc078c0809ef591057980a7ab6cdab9891e44  Avoid trying to resize non-resizable images
44839bee8b869e24292cd8705177d7597828e2ea  Localisation updates from https://translatewiki.net.
f32baeceb478a714c0490d90bffb3b411655b8d9  Localisation updates from https://translatewiki.net.
083375b3c33f6aae6d81b17f12318e80e5c992db  Update polyfills
bc883cb9269c12cd9ccad0707e498daa2863ae27  Patch broken polyfill feature test
754e566f454f8083e6baebdcc9eebc06e7cda333  Exclude phantomjs from generic webkit as it's ancient
4efe7cdc109013fa77d3e5356454d305a3726335  Fix vagrant provisioning script
2a9346adb0477e895dca1083c0f675f690dcdf75  Make sure phantomjs is installed
dc5cdebc29927933a815a9c65cc8dd2116f87b31  Create config/settings.local.yml in Vagrant provisioning script
21a3a69d1006247abd27ea404559a964a8ddba84  Localisation updates from https://translatewiki.net.
cdae792e36effd22d05bfd579c9822f27fb4c9a7  Localisation updates from https://translatewiki.net.
42345cb9b7ff32e477d69047a1b87dea6e649433  Include any current search terms in the page title
389fee0151d4b7f3b4a77e38143e6990a00d2362  Revert "Always look to the global scope for the GPX module"
18f5f1d499178bfbeaceb450a4a8e0a2863b3d96  Explicitly require gpx in the trace model tests
dcea5c68838d89761ba8510e76acbcabbe1de61c  Update bundle
4b646e17a8c8246d1638bcece5d59369d78424e1  Fix rubocop warnings
0264b865e36c6ed25cb48e833653461aab3e5a00  Update rubocop todo
34c9d9cc6b5008886218e9e6154cb84bc87aeba7  Increase poltergeist timeout
06957c3479a752c7f94ed33729c5030ed3de4033  Localisation updates from https://translatewiki.net.
de973d08cacda5a78707c6c24c44d1efe1f1f798  Localisation updates from https://translatewiki.net.
135ec35a91bcca15637b6436dd7e546468c49690  Fix numericality validation to use correct integer only constraint
a973ca794f3f54395bcc758b4316d09c5014ebab  Localisation updates from https://translatewiki.net.
94033b3a088e3871f55fe6dad4e030b8af8b885a  Localisation updates from https://translatewiki.net.
39896c76f8b4d4b80cca29980a54b4061f848d4a  Update to iD v2.15.5
e1f2390d282a153422eaed2bcc12d43b9186bc97  Merge remote-tracking branch 'upstream/pull/2359'
bfd4f4993a35e0ef73a33291aacc3096580fb463  Update yarn bundle
d515e1b0e4b60c486cb1ed0b4e94607dfb365805  Update bundle
8d102e2dc5827ecc497ad51c4396ad92a83a8f47  Drop ancient imported daemon generator
bf1b9a9b6038c9e906133e9a981cc91b9512237d  Exclude all vendored code from rubocop checking
0cebec000081f8a779bcd244222af6162096d256  Merge branch 'patch/secscan' of https://github.com/mmd-osm/openstreetmap-website into mmd-osm-patch/secscan
2343ca8dde7b03d4db8c6d869ae6ba1adcc24a17  Ignore current Brakeman warnings


-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2229/files/759d1a1a5245854d524cd64056d8ef02de36975a..2343ca8dde7b03d4db8c6d869ae6ba1adcc24a17
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190828/f78b3354/attachment-0001.html>


More information about the rails-dev mailing list